您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
18 行
5.6 KiB
18 行
5.6 KiB
%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: -1893448595, guid: a040fb66244a7f54289914d98ea4ef7d, type: 3}
|
|
m_Name: CommonHealthController
|
|
m_EditorClassIdentifier:
|
|
_data:
|
|
_json: '{"graph":{"variables":{"collection":{"$content":[],"$version":"A"},"$version":"A"},"controlInputDefinitions":[],"controlOutputDefinitions":[],"valueInputDefinitions":[],"valueOutputDefinitions":[],"title":null,"summary":null,"pan":{"x":214.158,"y":-598.6801},"zoom":1.0,"elements":[{"argumentCount":0,"coroutine":false,"defaultValues":{"target":null,"name":{"$content":"Damage","$type":"System.String"}},"position":{"x":-177.0,"y":-705.0},"guid":"4f59c56d-e5ca-441b-b817-6468695bc42c","$version":"A","$type":"Bolt.CustomEvent","$id":"9"},{"defaultValues":{},"position":{"x":587.0,"y":-306.0},"guid":"ab1812ac-de11-4f2e-81ac-559b787c4067","$version":"A","$type":"Bolt.Branch","$id":"11"},{"numeric":true,"defaultValues":{"b":{"$content":0.0,"$type":"System.Single"}},"position":{"x":391.0,"y":-167.0},"guid":"e9853803-7bef-44c5-a02c-4fd3928df8a9","$version":"A","$type":"Bolt.LessOrEqual","$id":"13"},{"argumentCount":0,"defaultValues":{"name":{"$content":"Death","$type":"System.String"},"target":null},"position":{"x":761.0,"y":-291.0},"guid":"4292733a-5098-4a93-b937-b43315318137","$version":"A","$type":"Bolt.TriggerCustomEvent","$id":"15"},{"argumentCount":0,"coroutine":false,"defaultValues":{"target":null,"name":{"$content":"Damaged","$type":"System.String"}},"position":{"x":-172.0,"y":-348.0},"guid":"ff9b9e32-4ae2-4e11-9bb9-f3055a7e9e2a","$version":"A","$type":"Bolt.CustomEvent","$id":"17"},{"defaultValues":{"duration":{"$content":1.0,"$type":"System.Single"},"unscaledTime":{"$content":false,"$type":"System.Boolean"}},"position":{"x":59.0,"y":-689.0},"guid":"66a4bcd2-4d87-4ce8-a4f3-12ee8f925187","$version":"A","$type":"Bolt.Cooldown","$id":"19"},{"defaultValues":{"minuend":{"$content":1.0,"$type":"System.Single"},"subtrahend":{"$content":1.0,"$type":"System.Single"}},"position":{"x":19.0,"y":-181.0},"guid":"55f6204d-ca12-45ab-bcf0-e08c502f540a","$version":"A","$type":"Bolt.ScalarSubtract","$id":"21"},{"specifyFallback":false,"kind":"Object","defaultValues":{"name":{"$content":"Health","$type":"System.String"},"object":null},"position":{"x":-195.0,"y":-184.0},"guid":"1ccc80d5-eaca-4fed-af2c-dcbdf91c4936","$version":"A","$type":"Bolt.GetVariable","$id":"23"},{"kind":"Object","defaultValues":{"name":{"$content":"Health","$type":"System.String"},"object":null},"position":{"x":229.0,"y":-299.0},"guid":"45bf965d-a643-4047-b595-23912261f566","$version":"A","$type":"Bolt.SetVariable","$id":"25"},{"specifyFallback":false,"kind":"Object","defaultValues":{"name":{"$content":"DamageCooldown","$type":"System.String"},"object":null},"position":{"x":-194.0,"y":-566.0},"guid":"5b39390e-9612-4379-bf78-822207ea1f60","$version":"A","$type":"Bolt.GetVariable","$id":"27"},{"argumentCount":0,"defaultValues":{"name":{"$content":"Damaged","$type":"System.String"},"target":null},"position":{"x":355.0,"y":-688.0},"guid":"5e542d4c-8514-4483-a6ed-fc11c8d0409e","$version":"A","$type":"Bolt.TriggerCustomEvent","$id":"29"},{"sourceUnit":{"$ref":"19"},"sourceKey":"exitReady","destinationUnit":{"$ref":"29"},"destinationKey":"enter","guid":"23ed4bdd-26f0-4594-88c9-06d2a3929e2f","$type":"Bolt.ControlConnection"},{"sourceUnit":{"$ref":"17"},"sourceKey":"trigger","destinationUnit":{"$ref":"25"},"destinationKey":"assign","guid":"c177644a-9aa8-4b2e-8af3-47092c5abc41","$type":"Bolt.ControlConnection"},{"sourceUnit":{"$ref":"9"},"sourceKey":"trigger","destinationUnit":{"$ref":"19"},"destinationKey":"enter","guid":"5d629eee-eeb7-4ed5-8d3f-16b0e0825332","$type":"Bolt.ControlConnection"},{"sourceUnit":{"$ref":"11"},"sourceKey":"ifTrue","destinationUnit":{"$ref":"15"},"destinationKey":"enter","guid":"1e3d9ddf-fa25-4e60-8051-a4dc8fc775c7","$type":"Bolt.ControlConnection"},{"sourceUnit":{"$ref":"25"},"sourceKey":"assigned","destinationUnit":{"$ref":"11"},"destinationKey":"enter","guid":"4656f655-c485-46d4-8e52-4750bef1a588","$type":"Bolt.ControlConnection"},{"sourceUnit":{"$ref":"27"},"sourceKey":"value","destinationUnit":{"$ref":"19"},"destinationKey":"duration","guid":"8549512d-30d2-42eb-8df2-03d444758d97","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"25"},"sourceKey":"output","destinationUnit":{"$ref":"13"},"destinationKey":"a","guid":"eebc3cb7-b52e-4b6e-b8a2-a5741e5ab009","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"13"},"sourceKey":"comparison","destinationUnit":{"$ref":"11"},"destinationKey":"condition","guid":"ecbf17f6-2b2b-41b3-ad87-1bc6ca7fad4d","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"21"},"sourceKey":"difference","destinationUnit":{"$ref":"25"},"destinationKey":"input","guid":"91b6f383-ce31-416e-99c7-757f890b9271","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"23"},"sourceKey":"value","destinationUnit":{"$ref":"21"},"destinationKey":"minuend","guid":"5504064f-6ec4-4fd5-aca2-95afaee891b6","$type":"Bolt.ValueConnection"},{"position":{"xMin":-230.0,"yMin":-761.0,"xMax":558.0,"yMax":-447.0},"label":"Damage
|
|
Cooldown","comment":null,"color":{"r":0.0,"g":0.0,"b":0.0,"a":1.0},"guid":"da5514cc-e759-4c46-9210-440d4e6c9ace","$version":"A","$type":"Ludiq.GraphGroup"},{"position":{"xMin":-239.0,"yMin":-406.0,"xMax":934.0,"yMax":-6.0},"label":"Damage","comment":null,"color":{"r":0.0,"g":0.0,"b":0.0,"a":1.0},"guid":"81939c5f-effc-44e7-b36c-fa44b0d1224a","$version":"A","$type":"Ludiq.GraphGroup"}],"$version":"A"}}'
|
|
_objectReferences: []
|