feat: Main에서 실행되어야하는 기본 데이터 Load 구조 수정

This commit is contained in:
aube.lee
2025-02-13 09:41:40 +09:00
parent 8b34dc8f39
commit 8ba55b1508
2 changed files with 8 additions and 11 deletions

View File

@@ -43,23 +43,18 @@ namespace TON
{
Main.Singleton.Initialize();
// List<PlayerData> playersData = PlayerDataManager.Singleton.playersData;
PlayerDataManager.Singleton.Initalize();
PlayerPrefs.SetInt("SelectedPlayerIndex", 0);
PlayerDataManager.Singleton.SetCurrentUserData();
// HeartDataManager.Singleton.();
// List<SkillData> skillDatas = SkillDataManager.Singleton.skillDatas;
SkillDataManager.Singleton.Initalize();
// PlayerDataManager.Singleton.SetCurrentUserData();
// TODO : Custom Order After System Load
// UIManager.Show<IngameUI>(UIList.IngameUI);
UIManager.Show<TitleUI>(UIList.TitleUI);
// UIManager.Show<CharaterCreateUI>(UIList.CharaterCreateUI);
// UIManager.Show<LobbyUI>(UIList.LobbyUI);
// UIManager.Show<IngameOptionUI>(UIList.IngameOptionUI);
// UIManager.Show<SkillSettingUI>(UIList.SkillSettingUI);
// UIManager.Show<IngameUI>(UIList.IngameUI);
// UIManager.Show<ControllerUI>(UIList.ControllerUI);
// ControllerUI.Instance.Initalize();
// UIManager.Show<IngameOptionUI>(UIList.IngameOptionUI);
UIManager.Show<SkillSettingUI>(UIList.SkillSettingUI);
// UIManager.Show<CharaterCreateUI>(UIList.CharaterCreateUI);
// UIManager.Show<TitleUI>(UIList.TitleUI);
}
}
}