feat : 로비에서 각각의 스테이지로 화면 전환 할 수 있도록 수정
This commit is contained in:
@@ -28,17 +28,10 @@ namespace TON
|
||||
|
||||
public override IEnumerator OnEnd()
|
||||
{
|
||||
// TON.Player 내부의 캐릭터 삭제
|
||||
GameObject playerObj = GameObject.Find("TON.Player");
|
||||
if (playerObj != null)
|
||||
{
|
||||
foreach (Transform child in playerObj.transform)
|
||||
{
|
||||
GameObject.Destroy(child.gameObject);
|
||||
}
|
||||
}
|
||||
|
||||
yield return null;
|
||||
|
||||
UIManager.Hide<LobbyUI>(UIList.LobbyUI);
|
||||
UIManager.Hide<OptionUI>(UIList.OptionUI);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user