2026-06-15 리듬게임 자동기능

This commit is contained in:
2026-06-15 17:37:32 +09:00
parent 6fe34d8eec
commit 38936c211a
28 changed files with 502 additions and 18 deletions

View File

@@ -0,0 +1,21 @@
using UnityEngine;
public class RhythmCat : MonoBehaviour
{
Animator anim;
private void Awake()
{
anim = GetComponent<Animator>();
}
public void Dance(float delay)
{
_ = Util.RunDelayed(delay,()=>{anim.SetBool("Dance",true);},this.destroyCancellationToken);
}
public void DanceStop()
{
anim.SetBool("Dance",false);
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: c9cd0b46988c9bf4f927ad5d9cb2f5ed