/* Disable character. If need to show character again, can activate later */ public void HideCharacter(string characterName) { CharacterName character = ParseChar(characterName); CharacterUI ui = characterUiDictionary[character]; ui.Exit(() => { ui.gameObject.SetActive(false); }); }