연출 애니메이션이 한번만 재생되고 사라지는데 3번 정도 재생 되고 사라지게 수정되어야 할 것 같습니다. (3번은 손가락이 움직이는 애니메이션 재생 횟수를 의미합니다.)

This commit is contained in:
Ino 2025-11-07 14:18:48 +09:00
parent 797e0f3665
commit 6e250eb7fa
1 changed files with 12 additions and 1 deletions

View File

@ -123,7 +123,7 @@ public class Game_Mini : MonoBehaviour
{ {
gameObject.SetActive(true); gameObject.SetActive(true);
SoundInfo.Ins.Play_BGM((eBGM)Random.Range(1, 4)); SoundInfo.Ins.Play_BGM((eBGM)Random.Range(1, 4));
go_Guide.SetActive(true); StartCoroutine(Co_Guide());
Init(); Init();
@ -168,6 +168,17 @@ public class Game_Mini : MonoBehaviour
StartCoroutine(Co_Update()); StartCoroutine(Co_Update());
} }
IEnumerator Co_Guide()
{
for (int i = 0; i < 3; i++)
{
go_Guide.SetActive(false);
go_Guide.SetActive(true);
yield return new WaitForSeconds(0.5f);
}
go_Guide.SetActive(false);
}
IEnumerator Co_Update() IEnumerator Co_Update()
{ {
DSUtil.InActivateGameObjects(gos_readygo, 0); DSUtil.InActivateGameObjects(gos_readygo, 0);