Exemple #1
0
        public static void Init()
        {
            Window = CreateInstance <MainEditor>();

            Window.titleContent = new GUIContent("Easy Build System - Main Editor");

            Window.minSize = new Vector2(615, 505);

            Window.maxSize = new Vector2(615, 800);

            Window.ShowUtility();
        }
Exemple #2
0
        static Initializer()
        {
            if (!EditorPrefs.GetBool("Ebs_IsInit"))
            {
                Debug.Log("<b><color=cyan>[Easy Build System]</color></b> : Loading <b>Easy Build System</b> on this project ...");

                MainEditor.CheckLayers();

                Debug.Log("<b><color=cyan>[Easy Build System]</color></b> : The system has been correctly initialized !");

                EditorPrefs.SetBool("Ebs_IsInit", true);
            }
        }
Exemple #3
0
 public static void EditorCreateSocket()
 {
     MainEditor.CreateNewSocket();
 }
Exemple #4
0
 public static void EditorCreatePart()
 {
     MainEditor.CreateNewPart();
 }
Exemple #5
0
 public static void EditorCreateArea()
 {
     MainEditor.CreateNewArea();
 }
Exemple #6
0
 public static void EditorCheckLayer()
 {
     MainEditor.CheckLayers();
 }
Exemple #7
0
 public static void EditorWindow()
 {
     MainEditor.Init();
 }