캐릭터 저장 로직 적용

This commit is contained in:
aube.lee
2025-02-01 23:09:57 +09:00
parent 3e6ab55f6e
commit a6eeb34e90
3 changed files with 14 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ namespace TON
// 플레이어가 가지고 있는 캐릭터들의 데이터 불러옴
List<PlayerData> players = PlayerDataManager.Singleton.players;
if (players == null)
if (players.Count == 0)
{
// 현재 가지고 있는 캐릭터가 없다면 CharaterCreateUI 를 보여주고
UIManager.Show<CharaterCreateUI>(UIList.CharaterCreateUI);