包含 Bolt Visual Scripting 示例的 Unity 包的集合。 每个示例都演示了如何使用 Unity 编辑器功能、游戏逻辑等,无需编写任何代码。
您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

21 行
8.7 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: PlayerGui
m_EditorClassIdentifier:
_data:
_json: '{"graph":{"variables":{"collection":{"$content":[],"$version":"A"},"$version":"A"},"controlInputDefinitions":[],"controlOutputDefinitions":[],"valueInputDefinitions":[],"valueOutputDefinitions":[],"title":null,"summary":null,"pan":{"x":196.3643,"y":558.803},"zoom":0.45,"elements":[{"specifyFallback":false,"kind":"Object","defaultValues":{"name":{"$content":"HasKey","$type":"System.String"},"object":null},"position":{"x":-32.0,"y":660.0},"guid":"a2c185e2-f83d-4cf8-ad70-df363827e130","$version":"A","$type":"Bolt.GetVariable","$id":"9"},{"nest":{"source":"Macro","macro":0,"embed":null},"defaultValues":{},"position":{"x":-23.0,"y":218.0},"guid":"37ba7bde-a9f2-4c5d-9c17-902935a1ece3","$version":"A","$type":"Bolt.SuperUnit","$id":"11"},{"specifyFallback":false,"kind":"Object","defaultValues":{"name":{"$content":"DamageOverlay","$type":"System.String"},"object":null},"position":{"x":1003.0,"y":727.0},"guid":"2ee54325-2b1b-4513-964e-188eabef5759","$version":"A","$type":"Bolt.GetVariable","$id":"14"},{"specifyFallback":false,"kind":"Object","defaultValues":{"name":{"$content":"Key","$type":"System.String"},"object":null},"position":{"x":-155.0,"y":524.0},"guid":"387e6920-f96a-4c43-9240-689f7c8fa607","$version":"A","$type":"Bolt.GetVariable","$id":"16"},{"chainable":false,"member":{"name":"alpha","parameterTypes":null,"targetType":"UnityEngine.CanvasGroup","targetTypeName":"UnityEngine.CanvasGroup","$version":"A"},"defaultValues":{"target":null,"input":{"$content":0.0,"$type":"System.Single"}},"position":{"x":1268.0,"y":516.0},"guid":"b29f96e5-82b8-41e2-ac4e-82325b4adc47","$version":"A","$type":"Bolt.SetMember","$id":"18"},{"specifyFallback":false,"kind":"Application","defaultValues":{"name":{"$content":"Player","$type":"System.String"}},"position":{"x":552.0,"y":496.0},"guid":"b66aa698-24e0-4f07-8022-7870ca3c29b7","$version":"A","$type":"Bolt.GetVariable","$id":"21"},{"argumentCount":0,"coroutine":false,"defaultValues":{"target":null,"name":{"$content":"Damaged","$type":"System.String"}},"position":{"x":737.0,"y":500.0},"guid":"b3fa4068-dd54-4fa5-bcae-f03f64993162","$version":"A","$type":"Bolt.CustomEvent","$id":"23"},{"specifyFallback":false,"kind":"Object","defaultValues":{"name":{"$content":"HasWeapon","$type":"System.String"},"object":null},"position":{"x":-15.0,"y":1120.0},"guid":"cd6292f6-c15b-4d72-b5dd-485723e6f16b","$version":"A","$type":"Bolt.GetVariable","$id":"25"},{"specifyFallback":false,"kind":"Application","defaultValues":{"name":{"$content":"Player","$type":"System.String"}},"position":{"x":-209.0,"y":1143.0},"guid":"2ddcb100-61c5-484f-90a8-1e53c2968c96","$version":"A","$type":"Bolt.GetVariable","$id":"27"},{"defaultValues":{"duration":{"$content":1.0,"$type":"System.Single"},"unscaledTime":{"$content":false,"$type":"System.Boolean"}},"position":{"x":952.0,"y":501.0},"guid":"1e0f0aff-917c-493d-a0e1-dbdcd22191aa","$version":"A","$type":"Bolt.Timer","$id":"29"},{"chainable":false,"member":{"name":"SetActive","parameterTypes":["System.Boolean"],"targetType":"UnityEngine.GameObject","targetTypeName":"UnityEngine.GameObject","$version":"A"},"defaultValues":{"target":null,"%value":{"$content":false,"$type":"System.Boolean"}},"position":{"x":171.0,"y":508.0},"guid":"fe2cb000-66e9-44d7-b6a2-2fbc8db9903c","$version":"A","$type":"Bolt.InvokeMember","$id":"31"},{"specifyFallback":false,"kind":"Object","defaultValues":{"name":{"$content":"Weapon","$type":"System.String"},"object":null},"position":{"x":-138.0,"y":984.0},"guid":"b2fff0a4-0eaa-4ab1-a071-2a3ede61b0cf","$version":"A","$type":"Bolt.GetVariable","$id":"34"},{"specifyFallback":false,"kind":"Application","defaultValues":{"name":{"$content":"Player","$type":"System.String"}},"position":{"x":-217.0,"y":222.0},"guid":"f133214e-c9ad-4360-afa7-8e79050f5ea3","$version":"A","$type":"Bolt.GetVariable","$id":"36"},{"coroutine":false,"defaultValues":{},"position":{"x":-126.0,"y":874.0},"guid":"8ee89658-a86f-4534-809c-26121ea28c11","$version":"A","$type":"Bolt.Update","$id":"38"},{"specifyFallback":false,"kind":"Application","defaultValues":{"name":{"$content":"Player","$type":"System.String"}},"position":{"x":-226.0,"y":683.0},"guid":"c3aa4dee-dd42-46ab-976b-fb81d6dc5ae8","$version":"A","$type":"Bolt.GetVariable","$id":"40"},{"coroutine":false,"defaultValues":{},"position":{"x":-143.0,"y":414.0},"guid":"fee4c9d8-bd44-45ea-90b9-95e7cc876144","$version":"A","$type":"Bolt.Update","$id":"42"},{"chainable":false,"member":{"name":"SetActive","parameterTypes":["System.Boolean"],"targetType":"UnityEngine.GameObject","targetTypeName":"UnityEngine.GameObject","$version":"A"},"defaultValues":{"target":null,"%value":{"$content":false,"$type":"System.Boolean"}},"position":{"x":188.0,"y":968.0},"guid":"5206aef7-853c-4f86-823a-6d3976e57141","$version":"A","$type":"Bolt.InvokeMember","$id":"44"},{"sourceUnit":{"$ref":"23"},"sourceKey":"trigger","destinationUnit":{"$ref":"29"},"destinationKey":"start","guid":"91381e83-2908-412a-ad9c-b63592d595ca","$type":"Bolt.ControlConnection"},{"sourceUnit":{"$ref":"29"},"sourceKey":"tick","destinationUnit":{"$ref":"18"},"destinationKey":"assign","guid":"aec83c57-1b63-4d13-8df7-c5ce51fbc589","$type":"Bolt.ControlConnection"},{"sourceUnit":{"$ref":"38"},"sourceKey":"trigger","destinationUnit":{"$ref":"44"},"destinationKey":"enter","guid":"5879408b-4804-4332-bb6e-83428a35c7af","$type":"Bolt.ControlConnection"},{"sourceUnit":{"$ref":"42"},"sourceKey":"trigger","destinationUnit":{"$ref":"31"},"destinationKey":"enter","guid":"623cb012-c1e5-4a9e-a75b-d10250d6aae4","$type":"Bolt.ControlConnection"},{"sourceUnit":{"$ref":"29"},"sourceKey":"remainingRatio","destinationUnit":{"$ref":"18"},"destinationKey":"input","guid":"ce32f900-bc31-4ce8-b5d6-46e36f33caba","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"14"},"sourceKey":"value","destinationUnit":{"$ref":"18"},"destinationKey":"target","guid":"94f28f46-f284-499a-852d-c1b6450dee61","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"21"},"sourceKey":"value","destinationUnit":{"$ref":"23"},"destinationKey":"target","guid":"a11c4182-8b71-4cdc-ba05-fa4a3d657cdf","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"27"},"sourceKey":"value","destinationUnit":{"$ref":"25"},"destinationKey":"object","guid":"7142408a-1095-46e5-9167-66407a42e06c","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"9"},"sourceKey":"value","destinationUnit":{"$ref":"31"},"destinationKey":"%value","guid":"4768f781-22b5-4bd1-aa3a-48127f07abad","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"16"},"sourceKey":"value","destinationUnit":{"$ref":"31"},"destinationKey":"target","guid":"b8ba3d0e-43f7-47dd-9fa9-8b35a1370a00","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"40"},"sourceKey":"value","destinationUnit":{"$ref":"9"},"destinationKey":"object","guid":"29e6149b-5ce0-4426-9fdb-3313a352abc0","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"25"},"sourceKey":"value","destinationUnit":{"$ref":"44"},"destinationKey":"%value","guid":"d305f5e6-4cf0-4335-b5df-7f8e230df389","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"36"},"sourceKey":"value","destinationUnit":{"$ref":"11"},"destinationKey":"Target","guid":"55f3ae97-0aa5-4ccf-96f1-ab021930c1f0","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"34"},"sourceKey":"value","destinationUnit":{"$ref":"44"},"destinationKey":"target","guid":"345d3020-b6ee-45b2-ac8d-b241fb0cbf40","$type":"Bolt.ValueConnection"},{"position":{"xMin":-274.9998,"yMin":814.0001,"xMax":375.0002,"yMax":1255.5},"label":"Show
/ Hide Weapon","comment":null,"color":{"r":0.0,"g":0.0,"b":0.0,"a":1.0},"guid":"b28837b1-b6f1-4257-b665-279e581836b0","$version":"A","$type":"Ludiq.GraphGroup"},{"position":{"xMin":-282.9998,"yMin":366.0001,"xMax":387.0002,"yMax":803.5002},"label":"Show
/ Hide Key","comment":null,"color":{"r":0.0,"g":0.0,"b":0.0,"a":1.0},"guid":"9a1bb90b-af22-4b88-b89b-fca3b550e031","$version":"A","$type":"Ludiq.GraphGroup"},{"position":{"xMin":496.0,"yMin":403.0,"xMax":1458.0,"yMax":910.0},"label":"Flash
on damage","comment":null,"color":{"r":0.0,"g":0.0,"b":0.0,"a":1.0},"guid":"643659e0-6527-4d2a-92d2-d57a3306caf3","$version":"A","$type":"Ludiq.GraphGroup"},{"position":{"xMin":-288.2222,"yMin":158.0,"xMax":211.7778,"yMax":336.3333},"label":"Health","comment":null,"color":{"r":0.0,"g":0.0,"b":0.0,"a":1.0},"guid":"23c973f4-973d-4b6e-90c5-e9f18523894e","$version":"A","$type":"Ludiq.GraphGroup"}],"$version":"A"}}'
_objectReferences:
- {fileID: 11400000, guid: 698ada6db3d2d2640b78e0b479dda4c5, type: 2}