Beispiel #1
0
        /*
         * private bool UncompiledChanges {
         *  get {return _editor.uncompiledChanges;}
         *  set {_editor.uncompiledChanges = value;}
         * }
         * private Vector2 _scrollPos = Vector2.zero;
         * private string _newFloatName = null;
         * private string _newIntName = null;
         * private string _newBoolName = null;
         *
         * private Texture2D refreshIconTex = null;
         * private Regex forceAlphanumeric = new Regex("^[a-zA-Z][a-zA-Z0-9]*$");
         *
         */

        public PropertyMenu(NodeMachineEditor editor)
        {
            this._editor = editor;

            //PropertyMenu.menus.Add(this);
            //refreshIconTex = EditorGUIUtility.Load("Assets/NodeMachine/Editor/Editor Resources/refresh-16x16.png") as Texture2D;
        }
Beispiel #2
0
 public static void ShowWindow(NodeMachineEditor window)
 {
     windowIcon          = EditorGUIUtility.Load("Assets/NodeMachine/Editor/Editor Resources/State Machine Icon.png") as Texture2D;
     titlePlain.image    = windowIcon;
     titleUnsaved.image  = windowIcon;
     window.titleContent = titlePlain;
     window.Show();
 }
Beispiel #3
0
 public ErrorPanel(NodeMachineEditor editor)
 {
     this._editor = editor;
 }