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

21 行
2.1 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: Danger
m_EditorClassIdentifier:
_data:
_json: '{"graph":{"variables":{"collection":{"$content":[],"$version":"A"},"$version":"A"},"controlInputDefinitions":[],"controlOutputDefinitions":[],"valueInputDefinitions":[],"valueOutputDefinitions":[],"title":null,"summary":null,"pan":{"x":284.1653,"y":102.6857},"zoom":1.0,"elements":[{"argumentCount":0,"defaultValues":{"name":{"$content":"Death","$type":"System.String"},"target":null},"position":{"x":436.0,"y":-14.0},"guid":"f7c004df-b5b9-4dad-86fd-af5883649b87","$version":"A","$type":"Bolt.TriggerCustomEvent","$id":"9"},{"nest":{"source":"Macro","macro":0,"embed":null},"defaultValues":{"tag":{"$content":"Player","$type":"System.String"}},"position":{"x":186.0,"y":3.0},"guid":"0e29b037-7de1-4231-9598-15d435897fac","$version":"A","$type":"Bolt.SuperUnit","$id":"11"},{"sourceUnit":{"$ref":"11"},"sourceKey":"target","destinationUnit":{"$ref":"9"},"destinationKey":"enter","guid":"885fa9aa-84d9-4be0-8fe0-b69b0d94ef7c","$type":"Bolt.ControlConnection"},{"sourceUnit":{"$ref":"11"},"sourceKey":"Object","destinationUnit":{"$ref":"9"},"destinationKey":"target","guid":"3d9625b6-63cd-4b47-9467-71133c188ac0","$type":"Bolt.ValueConnection"},{"position":{"xMin":131.6,"yMin":-74.19998,"xMax":677.6,"yMax":182.8},"label":"Kills
the player on touch","comment":"This Macro goes on objects that trigger death
(spikes, water, etc...). If the player collides with any object that has this
Macro, the custom event \"Death\" will trigger.","color":{"r":0.0,"g":0.0,"b":0.0,"a":1.0},"guid":"1ff66a90-f7a5-4cd0-afcb-72877d2d46fc","$version":"A","$type":"Ludiq.GraphGroup"}],"$version":"A"}}'
_objectReferences:
- {fileID: 11400000, guid: e10f8167a4ef1ce4fb05062327d4825c, type: 2}