Esempio n. 1
0
 private static void CreateEditor()
 {
     if (editor == null)
     {
         editor = ExternalEditor.CreateInstance <ExternalEditor>();
         editor.DraggableSeparator = true;
         editor.DivisionSeparator  = 150;
     }
 }
        public static void Init()
        {
            ExternalInspectorWindow window = EditorWindow.GetWindow <ExternalInspectorWindow>();

            window.wantsMouseMove = true;
            window.editor         = ExternalEditor.CreateInstance <ExternalEditor>();

            window.editor.DraggableSeparator = false;
            window.editor.DivisionSeparator  = 150;
        }