public static void openWindow() { CharacterEditor window = (CharacterEditor)EditorWindow.GetWindow(typeof(CharacterEditor)); window.titleContent = new GUIContent("Character"); window.Show(); }
private void CharacterListView_MouseDoubleClick(object sender, MouseButtonEventArgs e) { CharacterEditor characterEditor = new CharacterEditor(DbModel.GetAccountByCharacterName(SelectedCharacter).Name, SelectedCharacter.Name); characterEditor.Show(); }
private void CharacterManagerMenuItem_Click(object sender, RoutedEventArgs e) { CharacterEditor characterEditor = new CharacterEditor(); characterEditor.Show(); }