예제 #1
0
    private static void OpenEditor()
    {
//		MapEditorWindow window = EditorWindow.GetWindow<MapEditorWindow>();

        MapEditorWindow window = (MapEditorWindow)EditorWindow.GetWindow(typeof(MapEditorWindow));

        window.Init();
        window.Show();
        // Prevent the window from being destroyed when a new
        // scene is loaded into the editor.
//		UnityEngine.Object.DontDestroyOnLoad(window);
        //		MapEditorWindow.Create();
    }
예제 #2
0
        private void StartMapEditorClick(object sender, RoutedEventArgs e)
        {
            MapEditorWindow mapEditor = new MapEditorWindow();

            mapEditor.Show();
        }
예제 #3
0
    public static void EditMapList()
    {
        MapEditorWindow window = EditorWindow.GetWindow <MapEditorWindow>();

        window.Show();
    }
예제 #4
0
    static void Init()
    {
        MapEditorWindow window = EditorWindow.GetWindow <MapEditorWindow>();

        window.Show();
    }
    static void Init()
    {
        MapEditorWindow window = (MapEditorWindow)EditorWindow.GetWindow(typeof(MapEditorWindow));

        window.Show();
    }