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

17 行
3.4 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: OnCollisionWith
m_EditorClassIdentifier:
_data:
_json: '{"graph":{"variables":{"collection":{"$content":[],"$version":"A"},"$version":"A"},"controlInputDefinitions":[],"controlOutputDefinitions":[{"key":"target","label":null,"summary":null,"hideLabel":false},{"key":"other","label":null,"summary":null,"hideLabel":false}],"valueInputDefinitions":[{"hasDefaultValue":true,"defaultValue":{"$content":"Player","$type":"System.String"},"_type":"System.String","key":"tag","label":null,"summary":null,"hideLabel":false}],"valueOutputDefinitions":[{"_type":"UnityEngine.GameObject","key":"Object","label":"Object","summary":null,"hideLabel":false}],"title":null,"summary":null,"pan":{"x":103.2497,"y":-118.1023},"zoom":1.0,"elements":[{"defaultValues":{},"position":{"x":150.0,"y":-99.0},"guid":"d429fb12-fa9f-477f-9058-b84e16878179","$version":"A","$type":"Bolt.Branch","$id":"13"},{"chainable":false,"member":{"name":"CompareTag","parameterTypes":["System.String"],"targetType":"UnityEngine.GameObject","targetTypeName":"UnityEngine.GameObject","$version":"A"},"defaultValues":{"target":null,"%tag":{"$content":"Player","$type":"System.String"}},"position":{"x":-32.0,"y":33.0},"guid":"f4fd6d01-f6c8-422e-af4d-3bea8eb26d36","$version":"A","$type":"Bolt.InvokeMember","$id":"15"},{"defaultValues":{},"position":{"x":-184.0,"y":98.0},"guid":"84911048-c974-47c5-afd1-3ff8858d736c","$version":"A","$type":"Bolt.GraphInput","$id":"18"},{"defaultValues":{},"position":{"x":332.0,"y":-38.0},"guid":"ab6c1a95-1b5f-4d0c-8185-a2234f53a0e3","$version":"A","$type":"Bolt.GraphOutput","$id":"20"},{"coroutine":false,"defaultValues":{"target":null},"position":{"x":-326.0,"y":-104.0},"guid":"613aa38b-da02-43c2-860d-243120926ab0","$version":"A","$type":"Bolt.OnCollisionEnter","$id":"22"},{"sourceUnit":{"$ref":"13"},"sourceKey":"ifTrue","destinationUnit":{"$ref":"20"},"destinationKey":"target","guid":"f136bc03-3308-41ba-be0f-fa1018e12528","$type":"Bolt.ControlConnection"},{"sourceUnit":{"$ref":"13"},"sourceKey":"ifFalse","destinationUnit":{"$ref":"20"},"destinationKey":"other","guid":"70dc2f0f-f791-4470-ac14-77b01bd7f53e","$type":"Bolt.ControlConnection"},{"sourceUnit":{"$ref":"22"},"sourceKey":"trigger","destinationUnit":{"$ref":"13"},"destinationKey":"enter","guid":"610365ea-e103-4d8a-895c-d8fff0a4f335","$type":"Bolt.ControlConnection"},{"sourceUnit":{"$ref":"15"},"sourceKey":"result","destinationUnit":{"$ref":"13"},"destinationKey":"condition","guid":"325371a2-9150-44f2-b559-f259fb826b83","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"18"},"sourceKey":"tag","destinationUnit":{"$ref":"15"},"destinationKey":"%tag","guid":"7ac3e20e-98d7-4028-a8ec-ec99c5a5003b","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"22"},"sourceKey":"collider","destinationUnit":{"$ref":"15"},"destinationKey":"target","guid":"c865611e-dbd3-4eb8-a125-affb51864864","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"22"},"sourceKey":"collider","destinationUnit":{"$ref":"20"},"destinationKey":"Object","guid":"b51fc781-46c7-44ae-b39c-909b6e604979","$type":"Bolt.ValueConnection"}],"$version":"A"}}'
_objectReferences: []