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

44 lines
921 B
C#
Raw Normal View History

2022-03-27 23:05:08 +00:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
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;
2022-03-27 23:05:08 +00:00
public void ClapParticle()
{
idolClapEffect.Play();
}
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));
}
2022-03-27 23:05:08 +00:00
}