public void DeleteCharacterResponse(JSONNode response) { LoadingWindowUI.Instance.Leave(this); if (response["error"] != null) { WarningMessageUI.Instance.ShowMessage(response["error"].Value); } else { OnLeaveCharacterInfoPage(); LocalUserInfo.Me.SetCharacters(response["data"]); m_CharacterSelectionPageMenu.SwitchTo(0); m_mainMenuUI.LoadPlayerCharacters(LocalUserInfo.Me); } }
public void ShowCharacterInfo(ActorInfo info) { PlayerPrefs.SetString(MainMenuUI.LAST_LOGGED_IN_CHAR_ID_PREF_KEY, info.ID); m_CharacterSelectionPageMenu.SwitchTo(1); m_CharacterInfoUI.SetInfo(info); }
public void MoveToMenu(int index) { m_PageMenu.SwitchTo(index); }