LoadingUI 재구성

This commit is contained in:
aube.lee
2025-02-02 14:44:12 +09:00
parent cafa8bc861
commit 6e3e4e6863
4 changed files with 374 additions and 1 deletions

View File

@@ -6,6 +6,29 @@ namespace TON
{
public class LoadingUI : UIBase
{
// private Animator playerAnimator;
// private void Start()
// {
// PlayerSpawner.SpawnPlayerCharacter();
// // TON.Player 하위의 Animator 찾기
// GameObject playerObj = GameObject.Find("TON.Player");
// if (playerObj != null)
// {
// playerAnimator = playerObj.GetComponentInChildren<Animator>();
// if (playerAnimator != null)
// {
// playerAnimator.SetBool("IsMoving", true); // Loading UI에서만 달리게 설정
// }
// }
// }
// private void OnDisable() // Loading UI가 사라질 때
// {
// if (playerAnimator != null)
// {
// playerAnimator.SetBool("IsMoving", false); // 인게임 시작 전 멈추도록 설정
// }
// }
}
}