mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-15 22:25:07 +00:00
ae017fdeef
* Fan Club: spotlight effects * new icons for Pajama Party, Karate Man * Editor: make context use Rodin font * idem for entities * Blue Bear: import HQ texture * Pajama Party: option to sleep forever * Space Soccer: option to mute the dispense sound
43 lines
921 B
C#
43 lines
921 B
C#
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;
|
|
|
|
[Header("References")]
|
|
public Material coreMat;
|
|
|
|
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));
|
|
}
|
|
}
|