Beispiel #1
0
 public override void OnInspectorGUI()
 {
     if (GUILayout.Button("Open edit window"))
     {
         PlainStateMachineBuilderEditorWindow.OpenWindow((PlainStateMachineBuilder)target);
     }
 }
        public static bool OpenEditorWindow(int instanceID, int line)
        {
            PlainStateMachineBuilder builderAsset = EditorUtility.InstanceIDToObject(instanceID) as PlainStateMachineBuilder;

            if (builderAsset != null)
            {
                PlainStateMachineBuilderEditorWindow.OpenWindow(builderAsset);

                return(true);
            }

            return(false);
        }
Beispiel #3
0
 public WindowEventHandler(PlainStateMachineBuilderEditorWindow window)
 {
     _window = window;
 }
Beispiel #4
0
 public TransitionConnectionEventHandler(PlainStateMachineBuilderEditorWindow window)
 {
     _window = window;
 }