%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: DropdownSync
  m_EditorClassIdentifier: 
  serializedUdonProgramAsset: {fileID: 11400000, guid: 3fffd44ea20612a40b70c557487d328e,
    type: 2}
  udonAssembly: ".data_start\r\n\r\n    .export uiDropdown\r\n    .sync dropdownValue,
    none\r\n    \r\n    Boolean_0: %SystemBoolean, null\r\n    Int32_0: %SystemInt32,
    null\r\n    Int32_1: %SystemInt32, null\r\n    player_0: %VRCSDKBaseVRCPlayerApi,
    null\r\n    obj_0: %UnityEngineGameObject, this\r\n    instance_0: %UnityEngineUIDropdown,
    null\r\n    instance_1: %VRCUdonUdonBehaviour, this\r\n    _old_dropdownValue:
    %SystemInt32, null\r\n    instance_2: %VRCUdonUdonBehaviour, this\r\n    instance_3:
    %UnityEngineUIDropdown, null\r\n    value_0: %SystemInt32, null\r\n    name_0:
    %SystemString, null\r\n    uiDropdown: %UnityEngineUIDropdown, null\r\n    dropdownValue:
    %SystemInt32, null\r\n    __returnValue: %SystemObject, null\r\n\r\n.data_end\r\n\r\n.code_start\r\n\r\n
    \   .export OnValueChanged\r\n    \r\n    OnValueChanged:\r\n    \r\n        PUSH,
    uiDropdown\r\n        PUSH, instance_0\r\n        COPY\r\n        PUSH, instance_0\r\n
    \       PUSH, Int32_0\r\n        EXTERN, \"UnityEngineUIDropdown.__get_value__SystemInt32\"\r\n
    \       PUSH, Int32_0\r\n        PUSH, dropdownValue\r\n        PUSH, Boolean_0\r\n
    \       EXTERN, \"SystemInt32.__op_Inequality__SystemInt32_SystemInt32__SystemBoolean\"\r\n
    \       PUSH, Boolean_0\r\n        JUMP_IF_FALSE, 0x000000F0\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, uiDropdown\r\n        PUSH, instance_0\r\n        COPY\r\n        PUSH,
    Int32_0\r\n        PUSH, dropdownValue\r\n        COPY\r\n        PUSH, instance_1\r\n
    \       PUSH, \"_onVarChange_dropdownValue\"\r\n        EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomEvent__SystemString__SystemVoid\"\r\n
    \       PUSH, dropdownValue\r\n        PUSH, _old_dropdownValue\r\n        COPY\r\n
    \       PUSH, instance_2\r\n        EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__RequestSerialization__SystemVoid\"\r\n
    \       JUMP, 0x000000F0\r\n        JUMP, 0xFFFFFFFC\r\n    \r\n    .export _onVarChange_dropdownValue\r\n
    \   \r\n    _onVarChange_dropdownValue:\r\n    \r\n        PUSH, uiDropdown\r\n
    \       PUSH, instance_3\r\n        COPY\r\n        PUSH, instance_3\r\n        PUSH,
    dropdownValue\r\n        EXTERN, \"UnityEngineUIDropdown.__set_value__SystemInt32__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: -480, y: -510}
      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: 380, y: -560}
      nodeUIDs:
      - 
      - 2e9330b2-2126-4972-9455-b5e87ce4daef|0
      - 
      flowUIDs:
      - ae888b9b-5f27-40f5-a1ea-1baa70f8b0fa
      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_UnityEngineUIDropdown
      uid: f6eab4ad-3f34-49a9-8ac8-19d9b59d1d13
      position: {x: 188, y: -432}
      nodeUIDs:
      - 
      - 
      - 
      - 
      - 
      flowUIDs: []
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: 
      - unityObjectValue: {fileID: 0}
        stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|uiDropdown
      - 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_SystemInt32
      uid: ea620532-514e-483b-8dc0-9d9ae3a645d2
      position: {x: -444, y: -852}
      nodeUIDs:
      - 
      - 
      - 
      - 
      - 
      flowUIDs: []
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: 
      - unityObjectValue: {fileID: 0}
        stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|dropdownValue
      - 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: UnityEngineUIDropdown.__get_value__SystemInt32
      uid: 2e9330b2-2126-4972-9455-b5e87ce4daef
      position: {x: -260, y: -510}
      nodeUIDs:
      - 0cb40eff-4fec-4eed-ba1d-89008fe8cf27|0
      flowUIDs: []
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: 
    - fullName: UnityEngineUIDropdown.__set_value__SystemInt32__SystemVoid
      uid: b08cdad0-1225-4352-8325-233aa50a9277
      position: {x: 170, y: -170}
      nodeUIDs:
      - 0b9bea0b-2d9b-4fba-865b-ed04d9a426cd|0
      - fb818708-44c5-4a4c-9753-0de66a997425|0
      flowUIDs: []
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: 
      - unityObjectValue: {fileID: 0}
        stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0
    - fullName: Event_Custom
      uid: ea9a568e-a801-46a5-8b35-7bfc4bfb49da
      position: {x: -280, y: -610}
      nodeUIDs:
      - 
      flowUIDs:
      - a7777e46-e783-4a80-a9c8-f542206e0534
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|OnValueChanged
    - fullName: Variable_SystemObject
      uid: cd9c3fce-43e2-4b4f-adc8-46e56163a3d2
      position: {x: -835, y: 90}
      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: VRCUdonCommonInterfacesIUdonEventReceiver.__RequestSerialization__SystemVoid
      uid: ae888b9b-5f27-40f5-a1ea-1baa70f8b0fa
      position: {x: 580, y: -560}
      nodeUIDs:
      - 
      flowUIDs: []
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: 
    - fullName: VRCSDKBaseNetworking.__SetOwner__VRCSDKBaseVRCPlayerApi_UnityEngineGameObject__SystemVoid
      uid: a7df1c8a-d181-460c-92e4-f11284b2fc73
      position: {x: 240, y: -610}
      nodeUIDs:
      - 42b9c93b-521e-471a-aca0-5d608110c88f|0
      - 
      flowUIDs:
      - 89f2ad6b-3973-4adf-bcf7-1085cbbc9b8c
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: 
      - unityObjectValue: {fileID: 0}
        stringValue: 
    - fullName: VRCSDKBaseNetworking.__get_LocalPlayer__VRCSDKBaseVRCPlayerApi
      uid: 42b9c93b-521e-471a-aca0-5d608110c88f
      position: {x: 80, y: -580}
      nodeUIDs: []
      flowUIDs: []
      nodeValues: []
    - fullName: Event_OnVariableChange
      uid: fb818708-44c5-4a4c-9753-0de66a997425
      position: {x: -110, y: -220}
      nodeUIDs:
      - 
      flowUIDs:
      - b08cdad0-1225-4352-8325-233aa50a9277
      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: Get_Variable
      uid: 0b9bea0b-2d9b-4fba-865b-ed04d9a426cd
      position: {x: -70, y: -80}
      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: Branch
      uid: a7777e46-e783-4a80-a9c8-f542206e0534
      position: {x: 60, y: -460}
      nodeUIDs:
      - 1862e8d9-c8f0-4ba0-b119-d83c74930193|0
      flowUIDs:
      - a7df1c8a-d181-460c-92e4-f11284b2fc73
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|False
    - fullName: SystemInt32.__op_Inequality__SystemInt32_SystemInt32__SystemBoolean
      uid: 1862e8d9-c8f0-4ba0-b119-d83c74930193
      position: {x: -100, y: -440}
      nodeUIDs:
      - 2e9330b2-2126-4972-9455-b5e87ce4daef|0
      - ecd10661-99d1-4d05-bb43-299acf14383b|0
      flowUIDs: []
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0
      - unityObjectValue: {fileID: 0}
        stringValue: System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0
    - fullName: Get_Variable
      uid: ecd10661-99d1-4d05-bb43-299acf14383b
      position: {x: -300, y: -400}
      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: 
    updateOrder: 0
  graphElementData:
  - type: 5
    uid: 1cb035c5-d656-463e-be8b-ad06d34178d9
    jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":136.0,"width":224.0,"height":159.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: 67ab29bd-9a7c-4ed7-b553-cde454bf847a
    jsonData: '{"uid":"67ab29bd-9a7c-4ed7-b553-cde454bf847a","layout":{"serializedVersion":"2","x":-140.0,"y":-280.0,"width":513.0,"height":312.0},"containedElements":["fb818708-44c5-4a4c-9753-0de66a997425","0b9bea0b-2d9b-4fba-865b-ed04d9a426cd","b08cdad0-1225-4352-8325-233aa50a9277"],"title":"Update
      Dropdown when Synced Var Changes","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}'
  - type: 2
    uid: 5b2498dd-08e1-4c68-85a9-f6310aefc4dc
    jsonData: '{"uid":"5b2498dd-08e1-4c68-85a9-f6310aefc4dc","layout":{"serializedVersion":"2","x":-500.0,"y":-680.0,"width":1293.0,"height":383.0},"containedElements":["0cb40eff-4fec-4eed-ba1d-89008fe8cf27","89f2ad6b-3973-4adf-bcf7-1085cbbc9b8c","2e9330b2-2126-4972-9455-b5e87ce4daef","ea9a568e-a801-46a5-8b35-7bfc4bfb49da","ae888b9b-5f27-40f5-a1ea-1baa70f8b0fa","a7df1c8a-d181-460c-92e4-f11284b2fc73","42b9c93b-521e-471a-aca0-5d608110c88f","8be4bd79-e6a9-485c-8c18-f0ddd63d42dd","1862e8d9-c8f0-4ba0-b119-d83c74930193","ecd10661-99d1-4d05-bb43-299acf14383b","a7777e46-e783-4a80-a9c8-f542206e0534","31e277cd-2079-4567-925e-982b1f4c304f","4868c934-23de-4e61-947d-50b6c3aca0a3"],"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: 904.4009, y: 1008.8304}
    scale: 0.8695652
  version: 1.0.0
  showAssembly: 0
