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

18 行
5.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: Island
m_EditorClassIdentifier:
_data:
_json: '{"graph":{"variables":{"collection":{"$content":[],"$version":"A"},"$version":"A"},"controlInputDefinitions":[],"controlOutputDefinitions":[],"valueInputDefinitions":[],"valueOutputDefinitions":[],"title":null,"summary":null,"pan":{"x":114.3925,"y":-143.5019},"zoom":0.5999999,"elements":[{"specifyFallback":false,"kind":"Graph","defaultValues":{"name":{"$content":"TimeOffset","$type":"System.String"}},"position":{"x":-158.0,"y":81.0},"guid":"eea951d1-4900-4f43-9b32-f3c01e99e207","$version":"A","$type":"Bolt.GetVariable","$id":"9"},{"chainable":false,"member":{"name":"Translate","parameterTypes":["System.Single","System.Single","System.Single"],"targetType":"UnityEngine.Transform","targetTypeName":"UnityEngine.Transform","$version":"A"},"defaultValues":{"target":null,"%x":{"$content":0.0,"$type":"System.Single"},"%y":{"$content":0.0,"$type":"System.Single"},"%z":{"$content":0.0,"$type":"System.Single"}},"position":{"x":506.0,"y":-103.0},"guid":"356cdf59-43dd-44c0-a722-f78f89d54564","$version":"A","$type":"Bolt.InvokeMember","$id":"11"},{"chainable":false,"member":{"name":"Sin","parameterTypes":["System.Single"],"targetType":"UnityEngine.Mathf","targetTypeName":"UnityEngine.Mathf","$version":"A"},"defaultValues":{"%f":{"$content":0.0,"$type":"System.Single"}},"position":{"x":189.0,"y":-7.0},"guid":"79e5e014-fa0d-481d-9100-0c50c848139b","$version":"A","$type":"Bolt.InvokeMember","$id":"14"},{"member":{"name":"time","parameterTypes":null,"targetType":"UnityEngine.Time","targetTypeName":"UnityEngine.Time","$version":"A"},"defaultValues":{},"position":{"x":-157.0,"y":-17.0},"guid":"29a02f9b-a875-4e7f-9aad-d99ab7d14d41","$version":"A","$type":"Bolt.GetMember","$id":"17"},{"kind":"Graph","defaultValues":{"name":{"$content":"TimeOffset","$type":"System.String"}},"position":{"x":96.0,"y":-422.0},"guid":"4a30fe1c-6845-44bc-ad42-e688e7a1f4f3","$version":"A","$type":"Bolt.SetVariable","$id":"20"},{"coroutine":false,"defaultValues":{},"position":{"x":317.0,"y":-109.0},"guid":"924de3c0-0963-49ef-a7f2-13ae127a1850","$version":"A","$type":"Bolt.FixedUpdate","$id":"22"},{"chainable":false,"member":{"name":"Range","parameterTypes":["System.Single","System.Single"],"targetType":"UnityEngine.Random","targetTypeName":"UnityEngine.Random","$version":"A"},"defaultValues":{"%min":{"$content":0.0,"$type":"System.Single"},"%max":{"$content":5.0,"$type":"System.Single"}},"position":{"x":-112.0,"y":-341.0},"guid":"b34d4b6b-457c-4020-93c0-6ca69ad3b9e7","$version":"A","$type":"Bolt.InvokeMember","$id":"24"},{"defaultValues":{"b":{"$content":1.0,"$type":"System.Single"}},"position":{"x":40.0,"y":12.0},"guid":"327c59de-5235-48e4-bbc4-2244579ed9b7","$version":"A","$type":"Bolt.ScalarAdd","$id":"27"},{"defaultValues":{"input":{"$content":0.0,"$type":"System.Single"}},"position":{"x":329.0,"y":-11.0},"guid":"66a758c2-7304-4837-ae87-9a8d7f89b044","$version":"A","$type":"Bolt.ScalarPerSecond","$id":"29"},{"coroutine":false,"defaultValues":{},"position":{"x":-137.0,"y":-448.0},"guid":"459652f3-f24f-4cf6-b7bf-be7cd680a0f4","$version":"A","$type":"Bolt.Start","$id":"31"},{"sourceUnit":{"$ref":"31"},"sourceKey":"trigger","destinationUnit":{"$ref":"20"},"destinationKey":"assign","guid":"4cc326fb-6d27-48fe-a199-5b7a22b7bb13","$type":"Bolt.ControlConnection"},{"sourceUnit":{"$ref":"22"},"sourceKey":"trigger","destinationUnit":{"$ref":"11"},"destinationKey":"enter","guid":"5bed4dac-fcaa-4028-b922-3276fd23aa1d","$type":"Bolt.ControlConnection"},{"sourceUnit":{"$ref":"27"},"sourceKey":"sum","destinationUnit":{"$ref":"14"},"destinationKey":"%f","guid":"11625670-aaa0-4d6c-a045-2eb14f858dc2","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"9"},"sourceKey":"value","destinationUnit":{"$ref":"27"},"destinationKey":"b","guid":"80a00145-1365-44da-abc9-6a443db70148","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"17"},"sourceKey":"value","destinationUnit":{"$ref":"27"},"destinationKey":"a","guid":"6c85fd91-4b4a-425c-a86b-7267de51a91d","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"24"},"sourceKey":"result","destinationUnit":{"$ref":"20"},"destinationKey":"input","guid":"e4657b32-1b3b-4594-bb56-0a7afad55b09","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"29"},"sourceKey":"output","destinationUnit":{"$ref":"11"},"destinationKey":"%y","guid":"561e4d6f-b424-44b1-bbc0-68102dc73e12","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"14"},"sourceKey":"result","destinationUnit":{"$ref":"29"},"destinationKey":"input","guid":"366ed223-e8c1-497e-b7a4-a85c2b451662","$type":"Bolt.ValueConnection"},{"position":{"xMin":-187.0,"yMin":-155.0,"xMax":663.0,"yMax":184.0},"label":"Float","comment":null,"color":{"r":0.0,"g":0.0,"b":0.0,"a":1.0},"guid":"04dda425-64d9-4499-8e69-0e5e8ec9b315","$version":"A","$type":"Ludiq.GraphGroup"},{"position":{"xMin":-209.9999,"yMin":-506.9999,"xMax":280.0004,"yMax":-187.9999},"label":"Randomize
initial offset","comment":null,"color":{"r":0.0,"g":0.0,"b":0.0,"a":1.0},"guid":"8daf1609-d3d0-4f69-a71f-8430aa1a598c","$version":"A","$type":"Ludiq.GraphGroup"}],"$version":"A"}}'
_objectReferences: []