Пример #1
0
    public static void openWindow()
    {
        CharacterEditor window = (CharacterEditor)EditorWindow.GetWindow(typeof(CharacterEditor));

        window.titleContent = new GUIContent("Character");
        window.Show();
    }
Пример #2
0
        private void CharacterListView_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            CharacterEditor characterEditor = new CharacterEditor(DbModel.GetAccountByCharacterName(SelectedCharacter).Name, SelectedCharacter.Name);

            characterEditor.Show();
        }
Пример #3
0
        private void CharacterManagerMenuItem_Click(object sender, RoutedEventArgs e)
        {
            CharacterEditor characterEditor = new CharacterEditor();

            characterEditor.Show();
        }