public void OnSaveAsButtonClick()
        {
            LevelSaveEditor.Initialize();
            LevelSaveEditor creatorEditor = (LevelSaveEditor)EditorWindow.GetWindow(typeof(LevelSaveEditor));

            creatorEditor.InitializeLevelEditorConfiguration(configuration);
        }
Exemple #2
0
        public static void Initialize()
        {
            LevelSaveEditor window = (LevelSaveEditor)EditorWindow.GetWindow(typeof(LevelSaveEditor));

            window.title   = "LevelSaveEditor";
            window.minSize = new Vector2(400, 100);
            window.maxSize = new Vector2(400, 100);
            window.Show();
        }