Exemplo n.º 1
0
 public override void OnInspectorGUI()
 {
     if (GUILayout.Button("Open A.I. Editor"))
     {
         AIEditorWindow.Init();
     }
 }
 public virtual void OnDoubleClickItem(string test, Rect r)
 {
     if (Event.current.type == EventType.MouseDown && Event.current.clickCount == 2 && r.Contains(Event.current.mousePosition))
     {
         AIEditorWindow.Init((AIController)target);
     }
 }