25 lines
5.8 KiB
Plaintext

%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 7a686a47eee2fa44cb0a34b5d86e4d5e, type: 3}
m_Name: MachineToolBehavior
m_EditorClassIdentifier:
_serializedGraph: '{"type":"NodeCanvas.BehaviourTrees.BehaviourTree","nodes":[{"_condition":{"valueA":{"_name":"isRunning","_targetVariableID":"f3659bd0-f7dc-4502-8557-5f12c45536af"},"valueB":{"_value":true},"$type":"NodeCanvas.Tasks.Conditions.CheckBoolean"},"_position":{"x":673.0,"y":217.0},"$type":"NodeCanvas.BehaviourTrees.BinarySelector","$id":"0"},{"selectionMode":1,"intCase":{},"enumCase":{"_type":"System.Enum","_name":"shelfToolActionType","_targetVariableID":"2c322b5e-3caa-4413-8ed7-e4afaf3471d8"},"_position":{"x":488.1333,"y":431.1008},"$type":"NodeCanvas.BehaviourTrees.Switch","$id":"1"},{"_action":{"log":{"_value":"\u65e0\u4efb\u52a1"},"$type":"NodeCanvas.Tasks.Actions.DebugLogText"},"_position":{"x":-101.2274,"y":605.395},"$type":"NodeCanvas.BehaviourTrees.ActionNode","$id":"2"},{"_position":{"x":329.219,"y":620.0291},"$type":"NodeCanvas.BehaviourTrees.Sequencer","$id":"3"},{"_position":{"x":943.3838,"y":575.9547},"$type":"NodeCanvas.BehaviourTrees.Sequencer","$id":"4"},{"repeaterMode":1,"repeatTimes":{"_value":1},"_position":{"x":651.6718,"y":646.488},"$type":"NodeCanvas.BehaviourTrees.Repeater","$id":"5"},{"_condition":{"method":{"_baseInfo":"GameLogic.MachineToolActor|MoveTowards|System.Boolean","_paramsInfo":""},"parameters":[],"checkValue":{"_type":"System.Boolean","_value":{"$content":true,"$type":"System.Boolean"}},"$type":"NodeCanvas.Tasks.Conditions.CheckFunction_Multiplatform"},"_position":{"x":598.3838,"y":759.9547},"$type":"NodeCanvas.BehaviourTrees.ConditionNode","$id":"6"},{"_action":{"method":{"_baseInfo":"GameLogic.MachineToolActor|Reset|System.Void","_paramsInfo":""},"parameters":[],"returnValue":{},"$type":"NodeCanvas.Tasks.Actions.ExecuteFunction_Multiplatform"},"_position":{"x":800.3838,"y":653.9547},"$type":"NodeCanvas.BehaviourTrees.ActionNode","$id":"7"},{"repeaterMode":1,"repeatTimes":{"_value":1},"_position":{"x":962.3838,"y":647.9547},"$type":"NodeCanvas.BehaviourTrees.Repeater","$id":"8"},{"_condition":{"method":{"_baseInfo":"GameLogic.MachineToolActor|IsLoadBoxComplete|System.Boolean","_paramsInfo":""},"parameters":[],"checkValue":{"_type":"System.Boolean","_value":{"$content":true,"$type":"System.Boolean"}},"$type":"NodeCanvas.Tasks.Conditions.CheckFunction_Multiplatform"},"_position":{"x":883.0958,"y":756.4213},"$type":"NodeCanvas.BehaviourTrees.ConditionNode","$id":"9"},{"_action":{"method":{"_baseInfo":"GameLogic.MachineToolActor|Reset|System.Void","_paramsInfo":""},"parameters":[],"returnValue":{},"$type":"NodeCanvas.Tasks.Actions.ExecuteFunction_Multiplatform"},"_position":{"x":1111.384,"y":639.9547},"$type":"NodeCanvas.BehaviourTrees.ActionNode","$id":"10"},{"repeaterMode":1,"repeatTimes":{"_value":1},"_position":{"x":1279.384,"y":641.9547},"$type":"NodeCanvas.BehaviourTrees.Repeater","$id":"11"},{"_condition":{"method":{"_baseInfo":"GameLogic.MachineToolActor|ReturnOrigin|System.Boolean","_paramsInfo":""},"parameters":[],"checkValue":{"_type":"System.Boolean","_value":{"$content":true,"$type":"System.Boolean"}},"$type":"NodeCanvas.Tasks.Conditions.CheckFunction_Multiplatform"},"_position":{"x":1230.096,"y":754.4213},"$type":"NodeCanvas.BehaviourTrees.ConditionNode","$id":"12"},{"_action":{"method":{"_baseInfo":"GameLogic.MachineToolActor|Reset|System.Void","_paramsInfo":""},"parameters":[],"returnValue":{},"$type":"NodeCanvas.Tasks.Actions.ExecuteFunction_Multiplatform"},"_position":{"x":1430.384,"y":640.9547},"$type":"NodeCanvas.BehaviourTrees.ActionNode","$id":"13"},{"_action":{"log":{"_value":"\u673a\u5668\u8fd0\u884c\u4e2d"},"$type":"NodeCanvas.Tasks.Actions.DebugLogText"},"_position":{"x":792.0,"y":420.0},"$type":"NodeCanvas.BehaviourTrees.ActionNode","$id":"14"}],"connections":[{"_sourceNode":{"$ref":"0"},"_targetNode":{"$ref":"1"},"$type":"NodeCanvas.BehaviourTrees.BTConnection"},{"_sourceNode":{"$ref":"0"},"_targetNode":{"$ref":"14"},"$type":"NodeCanvas.BehaviourTrees.BTConnection"},{"_sourceNode":{"$ref":"1"},"_targetNode":{"$ref":"2"},"$type":"NodeCanvas.BehaviourTrees.BTConnection"},{"_sourceNode":{"$ref":"1"},"_targetNode":{"$ref":"3"},"$type":"NodeCanvas.BehaviourTrees.BTConnection"},{"_sourceNode":{"$ref":"1"},"_targetNode":{"$ref":"4"},"$type":"NodeCanvas.BehaviourTrees.BTConnection"},{"_sourceNode":{"$ref":"4"},"_targetNode":{"$ref":"5"},"$type":"NodeCanvas.BehaviourTrees.BTConnection"},{"_sourceNode":{"$ref":"4"},"_targetNode":{"$ref":"7"},"$type":"NodeCanvas.BehaviourTrees.BTConnection"},{"_sourceNode":{"$ref":"4"},"_targetNode":{"$ref":"8"},"$type":"NodeCanvas.BehaviourTrees.BTConnection"},{"_sourceNode":{"$ref":"4"},"_targetNode":{"$ref":"10"},"$type":"NodeCanvas.BehaviourTrees.BTConnection"},{"_sourceNode":{"$ref":"4"},"_targetNode":{"$ref":"11"},"$type":"NodeCanvas.BehaviourTrees.BTConnection"},{"_sourceNode":{"$ref":"4"},"_targetNode":{"$ref":"13"},"$type":"NodeCanvas.BehaviourTrees.BTConnection"},{"_sourceNode":{"$ref":"5"},"_targetNode":{"$ref":"6"},"$type":"NodeCanvas.BehaviourTrees.BTConnection"},{"_sourceNode":{"$ref":"8"},"_targetNode":{"$ref":"9"},"$type":"NodeCanvas.BehaviourTrees.BTConnection"},{"_sourceNode":{"$ref":"11"},"_targetNode":{"$ref":"12"},"$type":"NodeCanvas.BehaviourTrees.BTConnection"}],"canvasGroups":[],"localBlackboard":{"_variables":{}},"derivedData":{"$type":"NodeCanvas.BehaviourTrees.BehaviourTree+DerivedSerializationData"}}'
_objectReferences: []
_graphSource:
_version: 3.32
_category:
_comments:
_translation: {x: -64, y: -298}
_zoomFactor: 0.9112476
_haltSerialization: 0
_externalSerializationFile: {fileID: 0}