연출 애니메이션이 한번만 재생되고 사라지는데 3번 정도 재생 되고 사라지게 수정되어야 할 것 같습니다. (3번은 손가락이 움직이는 애니메이션 재생 횟수를 의미합니다.)
This commit is contained in:
parent
797e0f3665
commit
6e250eb7fa
|
|
@ -123,7 +123,7 @@ public class Game_Mini : MonoBehaviour
|
|||
{
|
||||
gameObject.SetActive(true);
|
||||
SoundInfo.Ins.Play_BGM((eBGM)Random.Range(1, 4));
|
||||
go_Guide.SetActive(true);
|
||||
StartCoroutine(Co_Guide());
|
||||
|
||||
Init();
|
||||
|
||||
|
|
@ -168,6 +168,17 @@ public class Game_Mini : MonoBehaviour
|
|||
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()
|
||||
{
|
||||
DSUtil.InActivateGameObjects(gos_readygo, 0);
|
||||
|
|
|
|||
Loading…
Reference in New Issue