public void ShowCharacter(string c, string e) { CharacterName character = ParseChar(c); Expression expression = ParseExpress(e); CharacterUI ui = characterUiDictionary[character]; ui.gameObject.SetActive(true); ui.Init(expression); #if UNITY_EDITOR if (!characterUiDictionary.ContainsKey(character)) { Debug.LogError($"Asking to show {c} but {c} is null in scene {gameObject.scene.name}"); } #endif }