feat: 게임 인트로 화면 추가
This commit is contained in:
@@ -68,5 +68,18 @@ namespace TON
|
||||
{
|
||||
return LoadAsset<Sprite>($"UI/Ranking Paw/my_rank_box", out result);
|
||||
}
|
||||
|
||||
public bool LoadIntroBackgroundImage(int index, out Sprite result)
|
||||
{
|
||||
return LoadAsset<Sprite>($"UI/Story Background/intro_background_{index}", out result);
|
||||
}
|
||||
|
||||
public bool LoadIntroVillagerImage(out Sprite result)
|
||||
{
|
||||
return LoadAsset<Sprite>($"UI/Story Background/villagers", out result);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -44,12 +44,14 @@ namespace TON
|
||||
Main.Singleton.Initialize();
|
||||
|
||||
// TODO : Custom Order After System Load
|
||||
UIManager.Show<TitleUI>(UIList.TitleUI);
|
||||
// UIManager.Show<TitleUI>(UIList.TitleUI);
|
||||
UIManager.Show<IntroUI>(UIList.IntroUI);
|
||||
// UIManager.Show<CharaterCreateUI>(UIList.CharaterCreateUI);
|
||||
// UIManager.Show<LobbyUI>(UIList.LobbyUI);
|
||||
// UIManager.Show<IngameOptionUI>(UIList.IngameOptionUI);
|
||||
// UIManager.Show<SkillSettingUI>(UIList.SkillSettingUI);
|
||||
// PlayerDataManager.Singleton.SetCurrentUserData();
|
||||
PlayerDataManager.Singleton.Initalize();
|
||||
PlayerDataManager.Singleton.SetCurrentUserData();
|
||||
// UIManager.Show<ControllerUI>(UIList.ControllerUI);
|
||||
// ControllerUI.Instance.Initalize();
|
||||
// UIManager.Show<IngameUI>(UIList.IngameUI);
|
||||
|
||||
@@ -11,6 +11,7 @@ namespace TON
|
||||
None,
|
||||
Empty,
|
||||
Title,
|
||||
Intro,
|
||||
Lobby,
|
||||
Stage,
|
||||
Shop,
|
||||
@@ -63,6 +64,9 @@ namespace TON
|
||||
case SceneType.Title:
|
||||
StartCoroutine(ChangeScene<TitleScene>(onSceneChangeCompletedCallback));
|
||||
break;
|
||||
case SceneType.Intro:
|
||||
StartCoroutine(ChangeScene<IntroScene>(onSceneChangeCompletedCallback));
|
||||
break;
|
||||
case SceneType.Lobby:
|
||||
StartCoroutine(ChangeScene<LobbyScene>(onSceneChangeCompletedCallback));
|
||||
break;
|
||||
|
||||
@@ -28,6 +28,7 @@ namespace TON
|
||||
PauseUI, // 일시중지 버튼 선택 시 노출되는 UI
|
||||
GoldPopup,
|
||||
GuideUI,
|
||||
IntroUI,
|
||||
|
||||
POPUP_END,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user