선택한 캐릭터 데이터로 캐릭터 이미지 불러올수 있도록 적용
This commit is contained in:
@@ -31,7 +31,7 @@ namespace TON
|
||||
{
|
||||
if (string.IsNullOrEmpty(selectedCharacter))
|
||||
{
|
||||
Debug.Log("캐릭터를 선택하세요!");
|
||||
// 캐릭터 선택되지 않은 상태에서 버튼 동작 되지 않도록 적용
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user