feat: 게임 인트로 화면 추가

This commit is contained in:
aube.lee
2025-03-09 18:47:20 +09:00
parent 5a4f69249e
commit 0e06fb63a5
20 changed files with 1760 additions and 1149 deletions

View File

@@ -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);
}
}
}

View File

@@ -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);

View File

@@ -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;

View File

@@ -28,6 +28,7 @@ namespace TON
PauseUI, // 일시중지 버튼 선택 시 노출되는 UI
GoldPopup,
GuideUI,
IntroUI,
POPUP_END,
}