TH1/Unity/Assets/Resources/BT/DefendCity.asset
2025-10-23 18:07:25 +08:00

25 lines
4.3 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: DefendCity
m_EditorClassIdentifier:
_serializedGraph: '{"type":"NodeCanvas.BehaviourTrees.BehaviourTree","nodes":[{"_position":{"x":233.1071,"y":784.5082},"$type":"NodeCanvas.BehaviourTrees.Sequencer","$id":"0"},{"_action":{"MarkStr":"CityCommonDefend","CheckNotHave":true,"nodeId":463,"$type":"NodeCanvas.Tasks.Actions.MarkAction"},"_tag":"<color=red>463</color>","_position":{"x":-82.50031,"y":884.0636},"$type":"NodeCanvas.BehaviourTrees.ActionNode","$id":"1"},{"_tag":"","_position":{"x":232.4085,"y":900.0037},"$type":"NodeCanvas.BehaviourTrees.Selector","$id":"2"},{"_action":{"Strategy":6,"IsCity":true,"ExtraName":"CommonDefend","nodeId":464,"$type":"NodeCanvas.Tasks.Actions.AIForeachCreate"},"_tag":"<color=red>464</color>","_position":{"x":-170.4937,"y":1009.99},"$type":"NodeCanvas.BehaviourTrees.ActionNode","$id":"3"},{"_action":{"nodeId":465,"$type":"NodeCanvas.Tasks.Actions.AIForeachStart"},"_tag":"<color=red>465</color>","_position":{"x":125.8932,"y":1022.25},"$type":"NodeCanvas.BehaviourTrees.ActionNode","$id":"4"},{"_tag":"","_position":{"x":256.9426,"y":1038.827},"$type":"NodeCanvas.BehaviourTrees.Sequencer","$id":"5"},{"_action":{"ActionTypes":[4],"nodeId":466,"$type":"NodeCanvas.Tasks.Actions.AIGeneratorAction"},"_tag":"<color=red>466</color>","_position":{"x":-0.5396254,"y":1226.149},"$type":"NodeCanvas.BehaviourTrees.ActionNode","$id":"6"},{"_action":{"nodeId":467,"$type":"NodeCanvas.Tasks.Actions.AIParamDefendTrainUnit"},"_tag":"<color=red>467</color>","_position":{"x":152.9659,"y":1227.126},"$type":"NodeCanvas.BehaviourTrees.ActionNode","$id":"7"},{"_action":{"CalculateTypes":[7],"nodeId":468,"$type":"NodeCanvas.Tasks.Actions.AICalculateAction"},"_tag":"<color=red>468</color>","_position":{"x":295.5356,"y":1225.331},"$type":"NodeCanvas.BehaviourTrees.ActionNode","$id":"8"},{"_action":{"nodeId":469,"$type":"NodeCanvas.Tasks.Actions.AIExecuteAction"},"_tag":"<color=red>469</color>","_position":{"x":442.8104,"y":1228.461},"$type":"NodeCanvas.BehaviourTrees.ActionNode","$id":"9"},{"_action":{"nodeId":470,"$type":"NodeCanvas.Tasks.Actions.AIForeachEnd"},"_tag":"<color=red>470</color>","_position":{"x":383.6671,"y":1022.379},"$type":"NodeCanvas.BehaviourTrees.ActionNode","$id":"10"},{"_action":{"MarkStr":"CityCommonDefend","nodeId":471,"$type":"NodeCanvas.Tasks.Actions.MarkAction"},"_tag":"<color=red>471</color>","_position":{"x":542.803,"y":1020.333},"$type":"NodeCanvas.BehaviourTrees.ActionNode","$id":"11"}],"connections":[{"_sourceNode":{"$ref":"0"},"_targetNode":{"$ref":"1"},"$type":"NodeCanvas.BehaviourTrees.BTConnection"},{"_sourceNode":{"$ref":"0"},"_targetNode":{"$ref":"2"},"$type":"NodeCanvas.BehaviourTrees.BTConnection"},{"_sourceNode":{"$ref":"2"},"_targetNode":{"$ref":"3"},"$type":"NodeCanvas.BehaviourTrees.BTConnection"},{"_sourceNode":{"$ref":"2"},"_targetNode":{"$ref":"4"},"$type":"NodeCanvas.BehaviourTrees.BTConnection"},{"_sourceNode":{"$ref":"2"},"_targetNode":{"$ref":"5"},"$type":"NodeCanvas.BehaviourTrees.BTConnection"},{"_sourceNode":{"$ref":"2"},"_targetNode":{"$ref":"10"},"$type":"NodeCanvas.BehaviourTrees.BTConnection"},{"_sourceNode":{"$ref":"2"},"_targetNode":{"$ref":"11"},"$type":"NodeCanvas.BehaviourTrees.BTConnection"},{"_sourceNode":{"$ref":"5"},"_targetNode":{"$ref":"6"},"$type":"NodeCanvas.BehaviourTrees.BTConnection"},{"_sourceNode":{"$ref":"5"},"_targetNode":{"$ref":"7"},"$type":"NodeCanvas.BehaviourTrees.BTConnection"},{"_sourceNode":{"$ref":"5"},"_targetNode":{"$ref":"8"},"$type":"NodeCanvas.BehaviourTrees.BTConnection"},{"_sourceNode":{"$ref":"5"},"_targetNode":{"$ref":"9"},"$type":"NodeCanvas.BehaviourTrees.BTConnection"}],"canvasGroups":[],"localBlackboard":{"_variables":{}},"derivedData":{"repeat":true,"$type":"NodeCanvas.BehaviourTrees.BehaviourTree+DerivedSerializationData"}}'
_objectReferences: []
_graphSource:
_version: 3.33
_category:
_comments:
_translation: {x: 560, y: -537}
_zoomFactor: 0.90570617
_haltSerialization: 0
_externalSerializationFile: {fileID: 0}