Files
ShellosDollhouse/Assets/VRChat Examples/Prefabs/Prefabs_UdonProgramSources/ToggleGameObject.asset
T

129 lines
6.0 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: 11500000, guid: 4f11136daadff0b44ac2278a314682ab, type: 3}
m_Name: ToggleGameObject
m_EditorClassIdentifier:
serializedUdonProgramAsset: {fileID: 11400000, guid: 0e6691ad1fb89c14ebe1f75bf7caf452,
type: 2}
udonAssembly: ".data_start\r\n\r\n .export targetGameObject\r\n \r\n instance_0:
%UnityEngineGameObject, this\r\n value_0: %SystemBoolean, null\r\n Boolean_0:
%SystemBoolean, null\r\n instance_1: %UnityEngineGameObject, this\r\n targetGameObject:
%UnityEngineGameObject, this\r\n\r\n.data_end\r\n\r\n.code_start\r\n\r\n .export
Toggle\r\n \r\n Toggle:\r\n \r\n PUSH, targetGameObject\r\n PUSH,
instance_0\r\n COPY\r\n PUSH, targetGameObject\r\n PUSH,
instance_1\r\n COPY\r\n PUSH, instance_1\r\n PUSH, Boolean_0\r\n
\ EXTERN, \"UnityEngineGameObject.__get_activeSelf__SystemBoolean\"\r\n
\ PUSH, Boolean_0\r\n PUSH, value_0\r\n EXTERN, \"SystemBoolean.__op_UnaryNegation__SystemBoolean__SystemBoolean\"\r\n
\ PUSH, instance_0\r\n PUSH, value_0\r\n EXTERN, \"UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid\"\r\n
\ JUMP, 0xFFFFFFFC\r\n \r\n\r\n.code_end\r\n"
assemblyError:
graphData:
name:
description:
nodes:
- fullName: UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid
uid: 604be5e9-b0e2-4a90-bd63-ea3cda3a7e88
position: {x: 460, y: -300}
nodeUIDs:
- 6e056de9-2b94-4e2d-8320-e7b012b1a18d|0
- 2cd078cf-34ff-4a06-98ab-17fad6df8199|0
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: Event_Custom
uid: b5959045-ee36-4e8c-93cf-935730cbb37e
position: {x: 250, y: -360}
nodeUIDs:
-
flowUIDs:
- 604be5e9-b0e2-4a90-bd63-ea3cda3a7e88
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|Toggle
- fullName: Variable_UnityEngineGameObject
uid: 15ad195f-b5a0-48f1-83f8-6030d5087dd5
position: {x: -168, y: -504}
nodeUIDs:
-
-
-
-
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|targetGameObject
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|True
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|False
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|OnValueChanged
- fullName: Get_Variable
uid: 6e056de9-2b94-4e2d-8320-e7b012b1a18d
position: {x: -360, y: -270}
nodeUIDs:
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|15ad195f-b5a0-48f1-83f8-6030d5087dd5
- fullName: UnityEngineGameObject.__get_activeSelf__SystemBoolean
uid: ec6184ef-19e2-4687-81b5-3383900abca1
position: {x: -100, y: -110}
nodeUIDs:
- 6e056de9-2b94-4e2d-8320-e7b012b1a18d|0
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: SystemBoolean.__op_UnaryNegation__SystemBoolean__SystemBoolean
uid: 2cd078cf-34ff-4a06-98ab-17fad6df8199
position: {x: 200, y: -70}
nodeUIDs:
- ec6184ef-19e2-4687-81b5-3383900abca1|0
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
graphElementData:
- type: 2
uid: 35cb12b1-bd2f-4eba-a693-6e26a0fa05bd
jsonData: '{"uid":"35cb12b1-bd2f-4eba-a693-6e26a0fa05bd","layout":{"serializedVersion":"2","x":-119.0,"y":-180.0,"width":578.0,"height":208.0},"containedElements":["2cd078cf-34ff-4a06-98ab-17fad6df8199","ec6184ef-19e2-4687-81b5-3383900abca1"],"title":"Unary
Negation just flips the value to its opposite","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}'
- type: 3
uid: db32ab25-33d1-4e54-a77e-32b529dd52c7
jsonData: '{"uid":"db32ab25-33d1-4e54-a77e-32b529dd52c7","layout":{"serializedVersion":"2","x":80.0,"y":-470.0,"width":355.02459716796877,"height":91.98226928710938},"title":"This
Event could be named anything as long as it matches the event name you use on
the Toggle UI Object.","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}'
- type: 3
uid: 0921893b-35d5-4857-b79f-9cc92dc53feb
jsonData: '{"uid":"0921893b-35d5-4857-b79f-9cc92dc53feb","layout":{"serializedVersion":"2","x":722.919921875,"y":-296.0,"width":372.0,"height":120.0},"title":"When
you ''Set Active'' on a GameObject, you also set the ''value'' which is True
for Active and False for Inactive","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}'
- type: 5
uid: cddf633d-d48d-4bda-954f-1d0dd8f691c2
jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":13.0,"y":29.0,"width":206.0,"height":100.0}}'
- type: 4
uid: 46d8d053-df09-42aa-b83b-0d8d8bbabc43
jsonData: '{"visible":false,"layout":{"serializedVersion":"2","x":10.0,"y":20.0,"width":0.0,"height":0.0}}'
viewTransform:
position: {x: 283.8843, y: 607.241}
scale: 0.70523417
version: 1.0.0
showAssembly: 0