mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-12-05 15:57:32 +00:00
7404f402d9
* new sprites not done * more sprites more anim chanegs * almost done * INSANE * sheet done * its done * re-implement improved squat sprite * remove many unused assets allow games to be hidden in the editor * start animations of backup dancers * finish backup dancer animations * add effects to backup dancers' tree * add dancers to the prefab * import new sprites * backup dancers fully functional * game camera now updates in LateUpdate() * touched some anims * oops * oops 2 * add audience applause fix the mapped cellanim shaders --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
46 lines
No EOL
1.1 KiB
C#
46 lines
No EOL
1.1 KiB
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace HeavenStudio.Games.Scripts_FanClub
|
|
{
|
|
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));
|
|
}
|
|
}
|
|
} |