HeavenStudioPlus/Assets/Scripts/Games/FanClub/NtrIdolAri.cs

46 lines
1.1 KiB
C#
Raw Normal View History

2022-03-27 23:05:08 +00:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace HeavenStudio.Games.Scripts_FanClub
2022-03-27 23:05:08 +00:00
{
public class NtrIdolAri : MonoBehaviour
{
[Header("Objects")]
public ParticleSystem idolClapEffect;
public ParticleSystem idolWinkEffect;
public ParticleSystem idolKissEffect;
public ParticleSystem idolWinkArrEffect;
2022-03-27 23:05:08 +00:00
[Header("References")]
public Material coreMat;
public void ClapParticle()
{
idolClapEffect.Play();
}
2022-03-27 23:05:08 +00:00
public void WinkParticle()
{
idolWinkEffect.Play();
}
public void KissParticle()
{
idolKissEffect.Play();
}
public void WinkArrangeParticle()
{
idolWinkArrEffect.Play();
}
public void ToSpot(bool unspot = true)
{
if (unspot)
coreMat.SetColor("_AddColor", new Color(0, 0, 0, 0));
else
coreMat.SetColor("_AddColor", new Color(0, 100 / 255f, 200 / 255f, 0));
}
}
}