Reapply "Merge pull request '리듬게임' (#5) from CatsRhythmGame into main"

This reverts commit d7d5519fbf.
This commit is contained in:
skrwns304@gmail.com
2026-06-16 12:26:10 +09:00
parent d7d5519fbf
commit c92e9f648a
2320 changed files with 251716 additions and 154 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