285 lines
13 KiB
Plaintext
285 lines
13 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: InputFieldSync
|
|
m_EditorClassIdentifier:
|
|
serializedUdonProgramAsset: {fileID: 11400000, guid: e72f33f546c492d49b22b524bccf213f,
|
|
type: 2}
|
|
udonAssembly: ".data_start\r\n\r\n .export uiInputField\r\n .sync fieldValue,
|
|
none\r\n \r\n __Boolean_0: %SystemBoolean, null\r\n __String_0: %SystemString,
|
|
null\r\n __String_1: %SystemString, null\r\n __player_0: %VRCSDKBaseVRCPlayerApi,
|
|
null\r\n __obj_0: %UnityEngineGameObject, this\r\n __instance_1: %VRCUdonUdonBehaviour,
|
|
this\r\n __symbolName_0: %SystemString, null\r\n __value_0: %SystemObject,
|
|
null\r\n __instance_0: %UnityEngineUIInputField, null\r\n __instance_2:
|
|
%VRCUdonUdonBehaviour, this\r\n __instance_3: %UnityEngineUIInputField, null\r\n
|
|
__value_1: %SystemString, null\r\n __name_0: %SystemString, null\r\n uiInputField:
|
|
%UnityEngineUIInputField, null\r\n fieldValue: %SystemString, null\r\n
|
|
__returnValue: %SystemObject, null\r\n\r\n.data_end\r\n\r\n.code_start\r\n\r\n
|
|
.export OnEndEdit\r\n \r\n OnEndEdit:\r\n \r\n PUSH, uiInputField\r\n
|
|
PUSH, __instance_0\r\n COPY\r\n PUSH, __instance_0\r\n PUSH,
|
|
__String_0\r\n EXTERN, \"UnityEngineUIInputField.__get_text__SystemString\"\r\n
|
|
PUSH, fieldValue\r\n PUSH, __String_1\r\n COPY\r\n PUSH,
|
|
__String_0\r\n PUSH, __String_1\r\n PUSH, __Boolean_0\r\n
|
|
EXTERN, \"SystemString.__op_Inequality__SystemString_SystemString__SystemBoolean\"\r\n
|
|
PUSH, __Boolean_0\r\n JUMP_IF_FALSE, 0x000000F8\r\n PUSH, __player_0\r\n
|
|
EXTERN, \"VRCSDKBaseNetworking.__get_LocalPlayer__VRCSDKBaseVRCPlayerApi\"\r\n
|
|
PUSH, __player_0\r\n PUSH, __obj_0\r\n EXTERN, \"VRCSDKBaseNetworking.__SetOwner__VRCSDKBaseVRCPlayerApi_UnityEngineGameObject__SystemVoid\"\r\n
|
|
PUSH, uiInputField\r\n PUSH, __instance_0\r\n COPY\r\n PUSH,
|
|
__String_0\r\n PUSH, __value_0\r\n COPY\r\n PUSH, __instance_1\r\n
|
|
PUSH, __symbolName_0\r\n PUSH, __String_0\r\n EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__SetProgramVariable__SystemString_SystemObject__SystemVoid\"\r\n
|
|
PUSH, __instance_2\r\n EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__RequestSerialization__SystemVoid\"\r\n
|
|
JUMP, 0x000000F8\r\n JUMP, 0xFFFFFFFC\r\n \r\n .export _onVarChange_fieldValue\r\n
|
|
\r\n _onVarChange_fieldValue:\r\n \r\n PUSH, uiInputField\r\n
|
|
PUSH, __instance_3\r\n COPY\r\n PUSH, __instance_3\r\n PUSH,
|
|
fieldValue\r\n EXTERN, \"UnityEngineUIInputField.__set_text__SystemString__SystemVoid\"\r\n
|
|
JUMP, 0xFFFFFFFC\r\n \r\n\r\n.code_end\r\n"
|
|
assemblyError:
|
|
graphData:
|
|
name:
|
|
description:
|
|
nodes:
|
|
- fullName: Get_Variable
|
|
uid: 0cb40eff-4fec-4eed-ba1d-89008fe8cf27
|
|
position: {x: -570, y: -110}
|
|
nodeUIDs:
|
|
-
|
|
flowUIDs: []
|
|
nodeValues:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|f6eab4ad-3f34-49a9-8ac8-19d9b59d1d13
|
|
- fullName: Set_Variable
|
|
uid: 89f2ad6b-3973-4adf-bcf7-1085cbbc9b8c
|
|
position: {x: 440, y: -160}
|
|
nodeUIDs:
|
|
-
|
|
- 390b2b52-bbe6-4144-87ba-12ce667722aa|0
|
|
-
|
|
flowUIDs:
|
|
- 6eca1f22-6fd9-45fb-a91c-b22aa81c26b6
|
|
nodeValues:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|ea620532-514e-483b-8dc0-9d9ae3a645d2
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
|
|
PublicKeyToken=b77a5c561934e089|True
|
|
- fullName: Variable_UnityEngineUIInputField
|
|
uid: f6eab4ad-3f34-49a9-8ac8-19d9b59d1d13
|
|
position: {x: 142.4, y: -333.5499}
|
|
nodeUIDs:
|
|
-
|
|
-
|
|
-
|
|
-
|
|
-
|
|
flowUIDs: []
|
|
nodeValues:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|uiInputField
|
|
- 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:
|
|
- fullName: Variable_SystemString
|
|
uid: ea620532-514e-483b-8dc0-9d9ae3a645d2
|
|
position: {x: -444, y: -828}
|
|
nodeUIDs:
|
|
-
|
|
-
|
|
-
|
|
-
|
|
-
|
|
flowUIDs: []
|
|
nodeValues:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|fieldValue
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
|
|
PublicKeyToken=b77a5c561934e089|False
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
|
|
PublicKeyToken=b77a5c561934e089|True
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none
|
|
- fullName: UnityEngineUIInputField.__get_text__SystemString
|
|
uid: 390b2b52-bbe6-4144-87ba-12ce667722aa
|
|
position: {x: -360, y: -110}
|
|
nodeUIDs:
|
|
- 0cb40eff-4fec-4eed-ba1d-89008fe8cf27|0
|
|
flowUIDs: []
|
|
nodeValues:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue:
|
|
- fullName: UnityEngineUIInputField.__set_text__SystemString__SystemVoid
|
|
uid: 88ac05f5-5aca-4427-ab73-74a4440844a1
|
|
position: {x: 10, y: 210}
|
|
nodeUIDs:
|
|
- 7e4128a3-2c0d-434f-b3e4-6c0706ed1753|0
|
|
- 4c0a1c2e-83f3-4354-bd54-081107695a00|0
|
|
flowUIDs: []
|
|
nodeValues:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue:
|
|
- fullName: Event_Custom
|
|
uid: efc2f13a-6113-4e24-8698-020a22220c2f
|
|
position: {x: -410, y: -210}
|
|
nodeUIDs:
|
|
-
|
|
flowUIDs:
|
|
- 91fe498f-5d9f-499f-815e-a82cae144e73
|
|
nodeValues:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|OnEndEdit
|
|
- fullName: VRCSDKBaseNetworking.__SetOwner__VRCSDKBaseVRCPlayerApi_UnityEngineGameObject__SystemVoid
|
|
uid: 00f18aae-cc0b-46fd-809d-148756d7d410
|
|
position: {x: 310, y: -210}
|
|
nodeUIDs:
|
|
- 4355f5f7-4caa-41af-8f9c-01658fdaa2ba|0
|
|
-
|
|
flowUIDs:
|
|
- 89f2ad6b-3973-4adf-bcf7-1085cbbc9b8c
|
|
nodeValues:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue:
|
|
- fullName: VRCSDKBaseNetworking.__get_LocalPlayer__VRCSDKBaseVRCPlayerApi
|
|
uid: 4355f5f7-4caa-41af-8f9c-01658fdaa2ba
|
|
position: {x: 130, y: -150}
|
|
nodeUIDs: []
|
|
flowUIDs: []
|
|
nodeValues: []
|
|
- fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__RequestSerialization__SystemVoid
|
|
uid: 6eca1f22-6fd9-45fb-a91c-b22aa81c26b6
|
|
position: {x: 610, y: -160}
|
|
nodeUIDs:
|
|
-
|
|
flowUIDs: []
|
|
nodeValues:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue:
|
|
- fullName: Variable_SystemObject
|
|
uid: b1ef14f7-09d4-4fdd-8dad-feb7e4484043
|
|
position: {x: 0, y: 0}
|
|
nodeUIDs:
|
|
-
|
|
-
|
|
-
|
|
-
|
|
-
|
|
flowUIDs: []
|
|
nodeValues:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|__returnValue
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
|
|
PublicKeyToken=b77a5c561934e089|False
|
|
- 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|none
|
|
- fullName: Get_Variable
|
|
uid: 7e4128a3-2c0d-434f-b3e4-6c0706ed1753
|
|
position: {x: -240, y: 320}
|
|
nodeUIDs:
|
|
-
|
|
flowUIDs: []
|
|
nodeValues:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|f6eab4ad-3f34-49a9-8ac8-19d9b59d1d13
|
|
- fullName: Event_OnVariableChange
|
|
uid: 4c0a1c2e-83f3-4354-bd54-081107695a00
|
|
position: {x: -240, y: 180}
|
|
nodeUIDs:
|
|
-
|
|
flowUIDs:
|
|
- 88ac05f5-5aca-4427-ab73-74a4440844a1
|
|
nodeValues:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|ea620532-514e-483b-8dc0-9d9ae3a645d2
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue:
|
|
- fullName: SystemString.__op_Inequality__SystemString_SystemString__SystemBoolean
|
|
uid: 4136c903-d3f9-45c4-ad90-2836483ee843
|
|
position: {x: -190, y: -60}
|
|
nodeUIDs:
|
|
- 390b2b52-bbe6-4144-87ba-12ce667722aa|0
|
|
- 61a3d97b-85c6-4931-b7eb-5af1cc57400d|0
|
|
flowUIDs: []
|
|
nodeValues:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue:
|
|
- fullName: Get_Variable
|
|
uid: 61a3d97b-85c6-4931-b7eb-5af1cc57400d
|
|
position: {x: -360, y: -40}
|
|
nodeUIDs:
|
|
-
|
|
flowUIDs: []
|
|
nodeValues:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|ea620532-514e-483b-8dc0-9d9ae3a645d2
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue:
|
|
- fullName: Branch
|
|
uid: 91fe498f-5d9f-499f-815e-a82cae144e73
|
|
position: {x: -20, y: -210}
|
|
nodeUIDs:
|
|
- 4136c903-d3f9-45c4-ad90-2836483ee843|0
|
|
flowUIDs:
|
|
- 00f18aae-cc0b-46fd-809d-148756d7d410
|
|
nodeValues:
|
|
- unityObjectValue: {fileID: 0}
|
|
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
|
|
PublicKeyToken=b77a5c561934e089|False
|
|
updateOrder: 0
|
|
graphElementData:
|
|
- type: 2
|
|
uid:
|
|
jsonData: '{"uid":"6cae173a-248b-4544-808f-bec85c802886","layout":{"serializedVersion":"2","x":550.0,"y":-705.0,"width":450.0,"height":308.0},"containedElements":["c5020263-8ec9-40ee-8935-86e91657ae20","5bc66cb4-befa-4100-a7a2-fd6498d7cd36","3e53df3f-8db9-465d-b828-687dc1ee22e0"],"title":"Approve
|
|
Ownership Transfers","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}'
|
|
- type: 5
|
|
uid: e027c6ca-385b-4a09-b984-66d2f4f38c3e
|
|
jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":13.0,"y":26.0,"width":223.0,"height":194.0}}'
|
|
- type: 4
|
|
uid: 375ae574-056c-4f5d-a57b-0c9c2c87c61a
|
|
jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":20.0,"width":0.0,"height":0.0}}'
|
|
- type: 2
|
|
uid: 12909805-74be-40ec-bd95-a47364f709fe
|
|
jsonData: '{"uid":"12909805-74be-40ec-bd95-a47364f709fe","layout":{"serializedVersion":"2","x":-270.0,"y":120.0,"width":451.0,"height":313.0},"containedElements":["88ac05f5-5aca-4427-ab73-74a4440844a1","7e4128a3-2c0d-434f-b3e4-6c0706ed1753","4c0a1c2e-83f3-4354-bd54-081107695a00"],"title":"Update
|
|
text when fieldValue Changes","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}'
|
|
- type: 2
|
|
uid: 82acebd0-d18e-4def-b018-e5caed36a642
|
|
jsonData: '{"uid":"82acebd0-d18e-4def-b018-e5caed36a642","layout":{"serializedVersion":"2","x":-600.0,"y":-280.0,"width":1412.0,"height":348.0},"containedElements":["0cb40eff-4fec-4eed-ba1d-89008fe8cf27","89f2ad6b-3973-4adf-bcf7-1085cbbc9b8c","390b2b52-bbe6-4144-87ba-12ce667722aa","efc2f13a-6113-4e24-8698-020a22220c2f","00f18aae-cc0b-46fd-809d-148756d7d410","4355f5f7-4caa-41af-8f9c-01658fdaa2ba","6eca1f22-6fd9-45fb-a91c-b22aa81c26b6","7e6437ef-5bfe-4403-8e21-0b710054b6cd","35f5296f-3392-4320-b521-728e899423d1","4136c903-d3f9-45c4-ad90-2836483ee843","61a3d97b-85c6-4931-b7eb-5af1cc57400d","91fe498f-5d9f-499f-815e-a82cae144e73"],"title":"When
|
|
UI is changed, check that it''s different than the variable, then become owner
|
|
and update it","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}'
|
|
viewTransform:
|
|
position: {x: 672.1734, y: 432.6688}
|
|
scale: 0.8695652
|
|
version: 1.0.0
|
|
showAssembly: 0
|