선택한 캐릭터 데이터로 캐릭터 이미지 불러올수 있도록 적용

This commit is contained in:
aube.lee
2025-02-01 23:35:21 +09:00
parent c8a972469e
commit 54a878618a
4 changed files with 52 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ namespace TON
{
if (string.IsNullOrEmpty(selectedCharacter))
{
Debug.Log("캐릭터 선택하세요!");
// 캐릭터 선택되지 않은 상태에서 버튼 동작 되지 않도록 적용
return;
}

View File

@@ -60,6 +60,9 @@ namespace TON
PlayerPrefs.SetInt("SelectedPlayerIndex", currentSelectCharacterIndex);
Debug.Log(currentSelectCharacterIndex);
UIManager.Hide<CharaterSelectUI>(UIList.CharaterSelectUI);
Main.Singleton?.ChangeScene(SceneType.Lobby);
}
public void OnClickCreateButton()