{ "type": "NodeCanvas.BehaviourTrees.BehaviourTree", "nodes": [ { "dynamic": true, "_position": { "x": 1069.627, "y": -94.3411 }, "$type": "NodeCanvas.BehaviourTrees.Selector", "$id": "0" }, { "dynamic": true, "_position": { "x": 499.1701, "y": 234.0681 }, "$type": "NodeCanvas.BehaviourTrees.Sequencer", "$id": "1" }, { "_condition": { "valueA": { "_name": "isInited", "_targetVariableID": "ea7dee8e-5c2d-4eb3-8e70-8113ce75b0e9" }, "valueB": { }, "$type": "NodeCanvas.Tasks.Conditions.CheckBoolean" }, "_position": { "x": 333.9366, "y": 346.1024 }, "$type": "NodeCanvas.BehaviourTrees.ConditionNode", "$id": "2" }, { "random": true, "_position": { "x": 498.6911, "y": 349.1115 }, "$type": "NodeCanvas.BehaviourTrees.Selector", "$id": "3" }, { "_action": { "valueA": { "_name": "currentPoint", "_targetVariableID": "ead51d78-0714-469d-bf73-82d6f1f8d1c4" }, "valueB": { "_name": "PointA", "_targetVariableID": "364450b8-ce01-48b1-bb1a-3aaf68018c09" }, "$type": "NodeCanvas.Tasks.Actions.SetVariable`1[[UnityEngine.Transform, UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]" }, "_position": { "x": 357.2607, "y": 457.8799 }, "$type": "NodeCanvas.BehaviourTrees.ActionNode", "$id": "4" }, { "_action": { "valueA": { "_name": "currentPoint", "_targetVariableID": "ead51d78-0714-469d-bf73-82d6f1f8d1c4" }, "valueB": { "_name": "PointB", "_targetVariableID": "5ae1a24c-64f9-44c5-a806-a4a5414ac3ce" }, "$type": "NodeCanvas.Tasks.Actions.SetVariable`1[[UnityEngine.Transform, UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]" }, "_position": { "x": 547.6544, "y": 457.9184 }, "$type": "NodeCanvas.BehaviourTrees.ActionNode", "$id": "5" }, { "_action": { "boolVariable": { "_name": "isInited", "_targetVariableID": "ea7dee8e-5c2d-4eb3-8e70-8113ce75b0e9" }, "$type": "NodeCanvas.Tasks.Actions.SetBoolean" }, "_position": { "x": 624.3455, "y": 349.6721 }, "$type": "NodeCanvas.BehaviourTrees.ActionNode", "$id": "6" }, { "dynamic": true, "_position": { "x": 1538.921, "y": 53.58358 }, "$type": "NodeCanvas.BehaviourTrees.Selector", "$id": "7" }, { "dynamic": true, "_position": { "x": 976.0117, "y": 230.1812 }, "$type": "NodeCanvas.BehaviourTrees.Sequencer", "$id": "8" }, { "_condition": { "valueA": { "_name": "isHit", "_targetVariableID": "db9e0598-ec21-41a9-9db1-4d6ff80e2dc6" }, "valueB": { "_value": true }, "$type": "NodeCanvas.Tasks.Conditions.CheckBoolean" }, "_position": { "x": 870.7553, "y": 342.9694 }, "$type": "NodeCanvas.BehaviourTrees.ConditionNode", "$id": "9" }, { "_action": { "actions": [ { "parameter": { "_value": "Hit" }, "parameterHashID": { }, "overrideAgent": { "_type": "UnityEngine.Animator", "_name": "myAnimator", "_targetVariableID": "f57a3168-8f85-4f84-91f2-e0f5ba181fca" }, "$type": "NodeCanvas.Tasks.Actions.MecanimSetTrigger" }, { "boolVariable": { "_name": "isHit", "_targetVariableID": "db9e0598-ec21-41a9-9db1-4d6ff80e2dc6" }, "setTo": 0, "$type": "NodeCanvas.Tasks.Actions.SetBoolean" } ], "$type": "NodeCanvas.Framework.ActionList" }, "_position": { "x": 1000.413, "y": 343.2565 }, "$type": "NodeCanvas.BehaviourTrees.ActionNode", "$id": "10" }, { "dynamic": true, "_position": { "x": 1283.085, "y": 233.8596 }, "$type": "NodeCanvas.BehaviourTrees.Sequencer", "$id": "11" }, { "_condition": { "valueA": { "_name": "isDead", "_targetVariableID": "065b681d-a6ca-427f-a6ba-47a0e8dbc4d4" }, "valueB": { "_value": true }, "$type": "NodeCanvas.Tasks.Conditions.CheckBoolean" }, "_position": { "x": 1187.496, "y": 335.3574 }, "$type": "NodeCanvas.BehaviourTrees.ConditionNode", "$id": "12" }, { "_action": { "actions": [ { "parameter": { "_value": "Death" }, "parameterHashID": { }, "setTo": { "_value": true }, "overrideAgent": { "_type": "UnityEngine.Animator", "_name": "myAnimator", "_targetVariableID": "f57a3168-8f85-4f84-91f2-e0f5ba181fca" }, "$type": "NodeCanvas.Tasks.Actions.MecanimSetBool" }, { "TimerTime": { "_value": 2.0 }, "$type": "NodeCanvas.Tasks.Actions.TimerAction" }, { "parameter": { "_value": "Death" }, "parameterHashID": { }, "setTo": { }, "overrideAgent": { "_type": "UnityEngine.Animator", "_name": "myAnimator", "_targetVariableID": "f57a3168-8f85-4f84-91f2-e0f5ba181fca" }, "$type": "NodeCanvas.Tasks.Actions.MecanimSetBool" }, { "TimerTime": { "_value": 0.5 }, "$type": "NodeCanvas.Tasks.Actions.TimerAction" }, { "boolVariable": { "_name": "isDead", "_targetVariableID": "065b681d-a6ca-427f-a6ba-47a0e8dbc4d4" }, "setTo": 0, "$type": "NodeCanvas.Tasks.Actions.SetBoolean" } ], "$type": "NodeCanvas.Framework.ActionList" }, "_position": { "x": 1333.678, "y": 336.2047 }, "$type": "NodeCanvas.BehaviourTrees.ActionNode", "$id": "13" }, { "dynamic": true, "_position": { "x": 1765.022, "y": 231.8945 }, "$type": "NodeCanvas.BehaviourTrees.Sequencer", "$id": "14" }, { "_action": { "target": { "_name": "currentPoint", "_targetVariableID": "ead51d78-0714-469d-bf73-82d6f1f8d1c4" }, "speed": { "_value": 2.0 }, "stopDistance": { "_value": 0.1 }, "waitActionFinish": true, "overrideAgent": { "_type": "UnityEngine.Transform", "_name": "Target", "_targetVariableID": "40e0ca8b-a8e7-4e72-81e6-a2c0c0be90c9" }, "$type": "NodeCanvas.Tasks.Actions.MoveTowards" }, "_position": { "x": 1702.458, "y": 368.1838 }, "$type": "NodeCanvas.BehaviourTrees.ActionNode", "$id": "15" }, { "dynamic": true, "_position": { "x": 1831.667, "y": 367.904 }, "$type": "NodeCanvas.BehaviourTrees.Selector", "$id": "16" }, { "dynamic": true, "_position": { "x": 1767.742, "y": 453.5901 }, "$type": "NodeCanvas.BehaviourTrees.Sequencer", "$id": "17" }, { "_condition": { "valueA": { "_name": "currentPoint", "_targetVariableID": "ead51d78-0714-469d-bf73-82d6f1f8d1c4" }, "valueB": { "_name": "PointA", "_targetVariableID": "364450b8-ce01-48b1-bb1a-3aaf68018c09" }, "$type": "NodeCanvas.Tasks.Conditions.CheckVariable`1[[UnityEngine.Transform, UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]" }, "_position": { "x": 1637.204, "y": 558.8386 }, "$type": "NodeCanvas.BehaviourTrees.ConditionNode", "$id": "18" }, { "_action": { "valueA": { "_name": "currentPoint", "_targetVariableID": "ead51d78-0714-469d-bf73-82d6f1f8d1c4" }, "valueB": { "_name": "PointB", "_targetVariableID": "5ae1a24c-64f9-44c5-a806-a4a5414ac3ce" }, "$type": "NodeCanvas.Tasks.Actions.SetVariable`1[[UnityEngine.Transform, UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]" }, "_position": { "x": 1843.053, "y": 558.8386 }, "$type": "NodeCanvas.BehaviourTrees.ActionNode", "$id": "19" }, { "_action": { "valueA": { "_name": "currentPoint", "_targetVariableID": "ead51d78-0714-469d-bf73-82d6f1f8d1c4" }, "valueB": { "_name": "PointA", "_targetVariableID": "364450b8-ce01-48b1-bb1a-3aaf68018c09" }, "$type": "NodeCanvas.Tasks.Actions.SetVariable`1[[UnityEngine.Transform, UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]" }, "_position": { "x": 1898.311, "y": 452.4116 }, "$type": "NodeCanvas.BehaviourTrees.ActionNode", "$id": "20" } ], "connections": [ { "_sourceNode": { "$ref": "0" }, "_targetNode": { "$ref": "1" }, "$type": "NodeCanvas.BehaviourTrees.BTConnection" }, { "_sourceNode": { "$ref": "0" }, "_targetNode": { "$ref": "7" }, "$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": "6" }, "$type": "NodeCanvas.BehaviourTrees.BTConnection" }, { "_sourceNode": { "$ref": "3" }, "_targetNode": { "$ref": "4" }, "$type": "NodeCanvas.BehaviourTrees.BTConnection" }, { "_sourceNode": { "$ref": "3" }, "_targetNode": { "$ref": "5" }, "$type": "NodeCanvas.BehaviourTrees.BTConnection" }, { "_sourceNode": { "$ref": "7" }, "_targetNode": { "$ref": "8" }, "$type": "NodeCanvas.BehaviourTrees.BTConnection" }, { "_sourceNode": { "$ref": "7" }, "_targetNode": { "$ref": "11" }, "$type": "NodeCanvas.BehaviourTrees.BTConnection" }, { "_sourceNode": { "$ref": "7" }, "_targetNode": { "$ref": "14" }, "$type": "NodeCanvas.BehaviourTrees.BTConnection" }, { "_sourceNode": { "$ref": "8" }, "_targetNode": { "$ref": "9" }, "$type": "NodeCanvas.BehaviourTrees.BTConnection" }, { "_sourceNode": { "$ref": "8" }, "_targetNode": { "$ref": "10" }, "$type": "NodeCanvas.BehaviourTrees.BTConnection" }, { "_sourceNode": { "$ref": "11" }, "_targetNode": { "$ref": "12" }, "$type": "NodeCanvas.BehaviourTrees.BTConnection" }, { "_sourceNode": { "$ref": "11" }, "_targetNode": { "$ref": "13" }, "$type": "NodeCanvas.BehaviourTrees.BTConnection" }, { "_sourceNode": { "$ref": "14" }, "_targetNode": { "$ref": "15" }, "$type": "NodeCanvas.BehaviourTrees.BTConnection" }, { "_sourceNode": { "$ref": "14" }, "_targetNode": { "$ref": "16" }, "$type": "NodeCanvas.BehaviourTrees.BTConnection" }, { "_sourceNode": { "$ref": "16" }, "_targetNode": { "$ref": "17" }, "$type": "NodeCanvas.BehaviourTrees.BTConnection" }, { "_sourceNode": { "$ref": "16" }, "_targetNode": { "$ref": "20" }, "$type": "NodeCanvas.BehaviourTrees.BTConnection" }, { "_sourceNode": { "$ref": "17" }, "_targetNode": { "$ref": "18" }, "$type": "NodeCanvas.BehaviourTrees.BTConnection" }, { "_sourceNode": { "$ref": "17" }, "_targetNode": { "$ref": "19" }, "$type": "NodeCanvas.BehaviourTrees.BTConnection" } ], "canvasGroups": [ { "name": "\u041e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u043f\u043e\u043f\u0430\u0434\u0430\u043d\u0438\u0439", "rect": { "xMin": 843.4655, "yMin": 168.8596, "xMax": 1564.679, "yMax": 496.2047 } }, { "name": "\u0414\u0432\u0438\u0436\u0435\u043d\u0438\u0435 \u043f\u043e \u0442\u043e\u0447\u043a\u0430\u043c", "rect": { "xMin": 1607.204, "yMin": 166.8945, "xMax": 2092.311, "yMax": 647.8387 }, "autoGroup": true }, { "name": "\u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0438 \u0432\u044b\u0431\u043e\u0440 \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f", "rect": { "xMin": 303.9366, "yMin": 169.0681, "xMax": 792.3455, "yMax": 546.9185 }, "autoGroup": true } ], "localBlackboard": { "_variables": { "isInited": { "_name": "isInited", "_id": "ea7dee8e-5c2d-4eb3-8e70-8113ce75b0e9", "$type": "NodeCanvas.Framework.Variable`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]" }, "Target": { "_name": "Target", "_id": "40e0ca8b-a8e7-4e72-81e6-a2c0c0be90c9", "_isPublic": true, "$type": "NodeCanvas.Framework.Variable`1[[UnityEngine.Transform, UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]" }, "PointA": { "_name": "PointA", "_id": "364450b8-ce01-48b1-bb1a-3aaf68018c09", "_isPublic": true, "$type": "NodeCanvas.Framework.Variable`1[[UnityEngine.Transform, UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]" }, "PointB": { "_name": "PointB", "_id": "5ae1a24c-64f9-44c5-a806-a4a5414ac3ce", "_isPublic": true, "$type": "NodeCanvas.Framework.Variable`1[[UnityEngine.Transform, UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]" }, "currentPoint": { "_name": "currentPoint", "_id": "ead51d78-0714-469d-bf73-82d6f1f8d1c4", "$type": "NodeCanvas.Framework.Variable`1[[UnityEngine.Transform, UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]" }, "isHit": { "_name": "isHit", "_id": "db9e0598-ec21-41a9-9db1-4d6ff80e2dc6", "_isPublic": true, "$type": "NodeCanvas.Framework.Variable`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]" }, "isDead": { "_name": "isDead", "_id": "065b681d-a6ca-427f-a6ba-47a0e8dbc4d4", "_isPublic": true, "$type": "NodeCanvas.Framework.Variable`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]" }, "myAnimator": { "_name": "myAnimator", "_id": "f57a3168-8f85-4f84-91f2-e0f5ba181fca", "_isPublic": true, "$type": "NodeCanvas.Framework.Variable`1[[UnityEngine.Animator, UnityEngine.AnimationModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]" } } }, "derivedData": { "repeat": true, "$type": "NodeCanvas.BehaviourTrees.BehaviourTree+DerivedSerializationData" } }