[Style] 기보씬 처음버튼은 시간차 없이 바둑판 리셋
This commit is contained in:
parent
3021fa3366
commit
6a3887bdf1
@ -2,7 +2,6 @@ using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using Unity.VisualScripting;
|
||||
using UnityEngine;
|
||||
using UnityEngine.SceneManagement;
|
||||
|
||||
@ -217,16 +216,10 @@ public class ReplayManager : Singleton<ReplayManager>
|
||||
}
|
||||
|
||||
public void ReplayFirst()
|
||||
{
|
||||
StartCoroutine(IReplayFirst());
|
||||
}
|
||||
|
||||
private IEnumerator IReplayFirst()
|
||||
{
|
||||
while (_placedStoneStack.Count > 0)
|
||||
{
|
||||
ReplayUndo(_placedStoneStack.Pop());
|
||||
yield return new WaitForSeconds(0.1f);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user