Example #1
0
        public void HandleCharacterSelectButton()
        {
            CharacterResponse characterResponse = characterScreen.GetSelectedCharacterData();

            if (characterResponse == null)
            {
                characterScreen.DisplayErrorMessage("Could not find character data.");
                return;
            }

            loginManager.SpawnPlayer(characterResponse);
        }