Git_VirtuellerEscapeRoom/Assets/MacroScripts/CubeActivated.asset

19 lines
6.6 KiB
Plaintext

%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: CubeActivated
m_EditorClassIdentifier:
_data:
_json: '{"graph":{"variables":{"collection":{"$content":[],"$version":"A"},"$version":"A"},"controlInputDefinitions":[],"controlOutputDefinitions":[],"valueInputDefinitions":[],"valueOutputDefinitions":[],"title":null,"summary":null,"pan":{"x":-107.9828,"y":-97.01074},"zoom":0.95,"elements":[{"coroutine":false,"defaultValues":{},"position":{"x":-249.0,"y":217.0},"guid":"482ac1c2-2746-4685-a3b1-6dc7f70765b4","$version":"A","$type":"Bolt.Update"},{"chainable":false,"member":{"name":".ctor","parameterTypes":["System.Single","System.Single","System.Single"],"targetType":"UnityEngine.Color","targetTypeName":"UnityEngine.Color","$version":"A"},"defaultValues":{"%r":{"$content":0.0,"$type":"System.Single"},"%g":{"$content":0.0,"$type":"System.Single"},"%b":{"$content":0.0,"$type":"System.Single"}},"position":{"x":118.0,"y":205.0},"guid":"88507561-14b9-4413-a2d6-72bef5450054","$version":"A","$type":"Bolt.InvokeMember"},{"chainable":false,"member":{"name":"SetColor","parameterTypes":["System.String","UnityEngine.Color"],"targetType":"UnityEngine.Material","targetTypeName":"UnityEngine.Material","$version":"A"},"defaultValues":{"target":null,"%name":{"$content":"_EmissionColor","$type":"System.String"},"%value":{"r":1.0,"g":1.0,"b":1.0,"a":1.0,"$type":"UnityEngine.Color"}},"position":{"x":201.0,"y":-240.0},"guid":"4acd5f4c-aaa2-4dee-889c-2fed88638d8e","$version":"A","$type":"Bolt.InvokeMember","$id":"14"},{"member":{"name":"material","parameterTypes":null,"targetType":"UnityEngine.Renderer","targetTypeName":"UnityEngine.Renderer","$version":"A"},"defaultValues":{"target":null},"position":{"x":-65.0,"y":-226.0},"guid":"e765fa62-d5db-4ced-a259-b967b21712ea","$version":"A","$type":"Bolt.GetMember","$id":"17"},{"chainable":false,"member":{"name":".ctor","parameterTypes":["System.Single","System.Single","System.Single"],"targetType":"UnityEngine.Color","targetTypeName":"UnityEngine.Color","$version":"A"},"defaultValues":{"%r":{"$content":1.0,"$type":"System.Single"},"%g":{"$content":1.0,"$type":"System.Single"},"%b":{"$content":1.0,"$type":"System.Single"}},"position":{"x":-34.0,"y":-102.0},"guid":"3fb599be-2cb7-46a5-bdd2-ab3246439956","$version":"A","$type":"Bolt.InvokeMember","$id":"20"},{"type":"System.Single","value":{"$content":0.0,"$type":"System.Single"},"defaultValues":{},"position":{"x":-103.0,"y":209.0},"guid":"16c26e8b-1731-461d-bcb7-37e9a8bda12e","$version":"A","$type":"Bolt.Literal"},{"coroutine":false,"defaultValues":{"target":null},"position":{"x":-851.0,"y":-541.0},"guid":"47840637-b241-4c0f-b55c-8aed9a023e23","$version":"A","$type":"Bolt.OnTriggerEnter","$id":"25"},{"type":"UnityEngine.GameObject","instance":true,"static":true,"defaultValues":{"target":null},"position":{"x":-625.0,"y":-555.0},"guid":"83bfd8e6-6682-4312-b816-ddb8ae347b25","$version":"A","$type":"Bolt.Expose","$id":"27"},{"numeric":false,"defaultValues":{},"position":{"x":-403.0,"y":-329.0},"guid":"e1823e6e-aa6f-4986-be83-e443d845fa88","$version":"A","$type":"Bolt.Equal","$id":"29"},{"type":"System.String","value":{"$content":"PlayerCollider","$type":"System.String"},"defaultValues":{},"position":{"x":-588.0,"y":-205.0},"guid":"ecd61b07-6335-4cda-b315-cd01e00c7177","$version":"A","$type":"Bolt.Literal","$id":"31"},{"defaultValues":{},"position":{"x":-277.0,"y":-503.0},"guid":"892311b0-f899-4175-996b-3175de971370","$version":"A","$type":"Bolt.Branch","$id":"33"},{"argumentCount":0,"defaultValues":{"name":{"$content":"","$type":"System.String"},"target":null},"position":{"x":202.0,"y":-486.0},"guid":"fedf098e-3b8d-4c8e-ab3d-f9b2ade0a726","$version":"A","$type":"Bolt.TriggerCustomEvent","$id":"35"},{"coroutine":false,"defaultValues":{},"position":{"x":-466.0,"y":-85.0},"guid":"32fd9c93-1a99-4bcb-9d79-5e5f15217d47","$version":"A","$type":"Bolt.Start","$id":"37"},{"chainable":false,"member":{"name":"PlayOneShot","parameterTypes":["UnityEngine.AudioClip"],"targetType":"UnityEngine.AudioSource","targetTypeName":"UnityEngine.AudioSource","$version":"A"},"defaultValues":{"target":null,"%clip":{"$content":0,"$type":"UnityEngine.Object"}},"position":{"x":-271.0,"y":-99.0},"guid":"07f884bd-65bd-4a82-8830-9b8492079d66","$version":"A","$type":"Bolt.InvokeMember","$id":"39"},{"sourceUnit":{"$ref":"25"},"sourceKey":"trigger","destinationUnit":{"$ref":"33"},"destinationKey":"enter","guid":"f2b80e77-bb7f-45a5-a8de-33b4137b9f25","$type":"Bolt.ControlConnection"},{"sourceUnit":{"$ref":"20"},"sourceKey":"exit","destinationUnit":{"$ref":"14"},"destinationKey":"enter","guid":"4c1a8ec9-6cf5-4389-a317-0949e67468e8","$type":"Bolt.ControlConnection"},{"sourceUnit":{"$ref":"33"},"sourceKey":"ifTrue","destinationUnit":{"$ref":"35"},"destinationKey":"enter","guid":"b28ce7ee-d4d5-48c1-90bb-22eb6d915ca8","$type":"Bolt.ControlConnection"},{"sourceUnit":{"$ref":"37"},"sourceKey":"trigger","destinationUnit":{"$ref":"39"},"destinationKey":"enter","guid":"8c252b8f-9ebb-47d3-920c-791f29856e12","$type":"Bolt.ControlConnection"},{"sourceUnit":{"$ref":"39"},"sourceKey":"exit","destinationUnit":{"$ref":"20"},"destinationKey":"enter","guid":"0c5235d7-df7d-4977-ab75-9e44fa112549","$type":"Bolt.ControlConnection"},{"sourceUnit":{"$ref":"17"},"sourceKey":"value","destinationUnit":{"$ref":"14"},"destinationKey":"target","guid":"3ad31659-a852-4197-9bf8-49968fd3c183","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"20"},"sourceKey":"result","destinationUnit":{"$ref":"14"},"destinationKey":"%value","guid":"452ee15b-cc5c-4197-8dd9-d00096a8f510","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"25"},"sourceKey":"collider","destinationUnit":{"$ref":"27"},"destinationKey":"target","guid":"308fa70e-0e10-4b44-86e2-a0635d2a315e","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"27"},"sourceKey":"name","destinationUnit":{"$ref":"29"},"destinationKey":"a","guid":"4e883ea4-b8c8-4690-a6cd-f51d71df70b3","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"31"},"sourceKey":"output","destinationUnit":{"$ref":"29"},"destinationKey":"b","guid":"169ed2dc-79ed-456d-95c0-a9c71aed8528","$type":"Bolt.ValueConnection"},{"sourceUnit":{"$ref":"29"},"sourceKey":"equal","destinationUnit":{"$ref":"33"},"destinationKey":"condition","guid":"a26c95f4-8173-4c8b-9025-6383680c1d91","$type":"Bolt.ValueConnection"}],"$version":"A"}}'
_objectReferences:
- {fileID: 8300000, guid: 5b0a8d470bbd144b49ef93b2b468a8d6, type: 3}