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

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

                return(true);
            }

            return(false);
        }
 public WindowEventHandler(HierarchicalStateMachineBuilderEditorWindow window)
 {
     _window = window;
 }
示例#4
0
 public TransitionConnectionEventHandler(HierarchicalStateMachineBuilderEditorWindow window)
 {
     _window = window;
 }