2022-03-27 23:05:08 +00:00
|
|
|
using System.Collections;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using UnityEngine;
|
|
|
|
|
2023-05-21 17:35:00 +00:00
|
|
|
namespace HeavenStudio.Games.Scripts_FanClub
|
2022-03-27 23:05:08 +00:00
|
|
|
{
|
2023-05-21 17:35:00 +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
|
|
|
|
2023-05-21 17:35:00 +00:00
|
|
|
[Header("References")]
|
|
|
|
public Material coreMat;
|
2022-06-18 06:31:19 +00:00
|
|
|
|
2023-05-21 17:35:00 +00:00
|
|
|
public void ClapParticle()
|
|
|
|
{
|
|
|
|
idolClapEffect.Play();
|
|
|
|
}
|
2022-03-27 23:05:08 +00:00
|
|
|
|
2023-05-21 17:35:00 +00:00
|
|
|
public void WinkParticle()
|
|
|
|
{
|
|
|
|
idolWinkEffect.Play();
|
|
|
|
}
|
2022-05-02 15:45:48 +00:00
|
|
|
|
2023-05-21 17:35:00 +00:00
|
|
|
public void KissParticle()
|
|
|
|
{
|
|
|
|
idolKissEffect.Play();
|
|
|
|
}
|
2022-05-02 17:43:47 +00:00
|
|
|
|
2023-05-21 17:35:00 +00:00
|
|
|
public void WinkArrangeParticle()
|
|
|
|
{
|
|
|
|
idolWinkArrEffect.Play();
|
|
|
|
}
|
2022-06-18 06:31:19 +00:00
|
|
|
|
2023-05-21 17:35:00 +00:00
|
|
|
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-06-18 06:31:19 +00:00
|
|
|
}
|
2023-05-21 17:35:00 +00:00
|
|
|
}
|