%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: SliderSync
  m_EditorClassIdentifier: 
  serializedUdonProgramAsset: {fileID: 11400000, guid: c7f123a2e0fb8424b90cf407d3fd830a,
    type: 2}
  udonAssembly: ".data_start\r\n\r\n    .export uiSlider\r\n    .export uiText\r\n
    \   .sync sliderValue, none\r\n    \r\n    Boolean_0: %SystemBoolean, null\r\n
    \   Single_0: %SystemSingle, null\r\n    Single_1: %SystemSingle, null\r\n    player_0:
    %VRCSDKBaseVRCPlayerApi, null\r\n    obj_0: %UnityEngineGameObject, this\r\n    instance_0:
    %UnityEngineUISlider, null\r\n    instance_1: %VRCUdonUdonBehaviour, this\r\n
    \   _old_sliderValue: %SystemSingle, null\r\n    instance_2: %VRCUdonUdonBehaviour,
    this\r\n    instance_3: %UnityEngineUIText, null\r\n    value_0: %SystemString,
    null\r\n    instance_4: %SystemSingle, null\r\n    instance_5: %UnityEngineUISlider,
    null\r\n    value_1: %SystemSingle, null\r\n    name_0: %SystemString, null\r\n
    \   sliderValue: %SystemSingle, null\r\n    uiSlider: %UnityEngineUISlider, null\r\n
    \   uiText: %UnityEngineUIText, 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,
    uiSlider\r\n        PUSH, instance_0\r\n        COPY\r\n        PUSH, instance_0\r\n
    \       PUSH, Single_0\r\n        EXTERN, \"UnityEngineUISlider.__get_value__SystemSingle\"\r\n
    \       PUSH, Single_0\r\n        PUSH, sliderValue\r\n        PUSH, Boolean_0\r\n
    \       EXTERN, \"SystemSingle.__op_Inequality__SystemSingle_SystemSingle__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, uiSlider\r\n        PUSH, instance_0\r\n        COPY\r\n        PUSH,
    Single_0\r\n        PUSH, sliderValue\r\n        COPY\r\n        PUSH, instance_1\r\n
    \       PUSH, \"_onVarChange_sliderValue\"\r\n        EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomEvent__SystemString__SystemVoid\"\r\n
    \       PUSH, sliderValue\r\n        PUSH, _old_sliderValue\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_sliderValue\r\n
    \   \r\n    _onVarChange_sliderValue:\r\n    \r\n        PUSH, uiText\r\n        PUSH,
    instance_3\r\n        COPY\r\n        PUSH, sliderValue\r\n        PUSH, value_0\r\n
    \       EXTERN, \"SystemSingle.__ToString__SystemString\"\r\n        PUSH, instance_3\r\n
    \       PUSH, value_0\r\n        EXTERN, \"UnityEngineUIText.__set_text__SystemString__SystemVoid\"\r\n
    \       PUSH, uiSlider\r\n        PUSH, instance_5\r\n        COPY\r\n        PUSH,
    instance_5\r\n        PUSH, sliderValue\r\n        EXTERN, \"UnityEngineUISlider.__set_value__SystemSingle__SystemVoid\"\r\n
    \       JUMP, 0xFFFFFFFC\r\n    \r\n\r\n.code_end\r\n"
  assemblyError: 
  graphData:
    name: 
    description: 
    nodes:
    - fullName: Variable_SystemSingle
      uid: 681f688f-6b05-479f-b350-84415532656d
      position: {x: 60, y: -684}
      nodeUIDs:
      - 
      - 
      - 
      - 
      - 
      flowUIDs: []
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: 
      - unityObjectValue: {fileID: 0}
        stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|sliderValue
      - 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: Variable_UnityEngineUISlider
      uid: 181b218a-898a-4725-bee3-34d8a7893ce6
      position: {x: 280, y: -562}
      nodeUIDs:
      - 
      - 
      - 
      - 
      - 
      flowUIDs: []
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: 
      - unityObjectValue: {fileID: 0}
        stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|uiSlider
      - 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|none
    - fullName: Get_Variable
      uid: 01a5da6d-ed90-444e-b8e3-9a7afdab6522
      position: {x: 380, y: 180}
      nodeUIDs:
      - 
      flowUIDs: []
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|181b218a-898a-4725-bee3-34d8a7893ce6
    - fullName: UnityEngineUISlider.__get_value__SystemSingle
      uid: da176d15-c265-46bf-87a8-8a508f1d5f6e
      position: {x: -150, y: -340}
      nodeUIDs:
      - 0dcc3560-73e5-453f-9f2c-17b429083a2e|0
      flowUIDs: []
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: 
    - fullName: Set_Variable
      uid: aebbea54-c452-4521-954a-00bb267dfeca
      position: {x: 560, y: -390}
      nodeUIDs:
      - 
      - da176d15-c265-46bf-87a8-8a508f1d5f6e|0
      - 
      flowUIDs:
      - dfa92252-2496-4eef-b156-385bee9ace37
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|681f688f-6b05-479f-b350-84415532656d
      - unityObjectValue: {fileID: 0}
        stringValue: 
      - unityObjectValue: {fileID: 0}
        stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|True
    - fullName: UnityEngineUISlider.__set_value__SystemSingle__SystemVoid
      uid: 8c875359-d6c7-4bb0-83bd-01ffe4cf267c
      position: {x: 560, y: -10}
      nodeUIDs:
      - 01a5da6d-ed90-444e-b8e3-9a7afdab6522|0
      - 2ee6a71e-7892-4d2c-a868-d1fc992e3210|0
      flowUIDs:
      - 
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: 
      - unityObjectValue: {fileID: 0}
        stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0
    - fullName: Variable_UnityEngineUIText
      uid: bf75ad30-48c8-456e-a7f7-ae92672059c1
      position: {x: 60, 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|uiText
      - 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: UnityEngineUIText.__set_text__SystemString__SystemVoid
      uid: 38dce4b4-e64b-4eec-a652-c7f00d78eec7
      position: {x: 320, y: -10}
      nodeUIDs:
      - 57b26821-6967-42a4-89f1-9ae388669d60|0
      - 7c882298-e2ba-4d00-84d4-ef5560f3241a|0
      flowUIDs:
      - 8c875359-d6c7-4bb0-83bd-01ffe4cf267c
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: 
      - unityObjectValue: {fileID: 0}
        stringValue: 
    - fullName: Get_Variable
      uid: 57b26821-6967-42a4-89f1-9ae388669d60
      position: {x: 120, y: 60}
      nodeUIDs:
      - 
      flowUIDs: []
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|bf75ad30-48c8-456e-a7f7-ae92672059c1
    - fullName: SystemSingle.__ToString__SystemString
      uid: 7c882298-e2ba-4d00-84d4-ef5560f3241a
      position: {x: 80, y: 150}
      nodeUIDs:
      - 2ee6a71e-7892-4d2c-a868-d1fc992e3210|0
      flowUIDs: []
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0
    - fullName: Event_Custom
      uid: 0348b9cd-402a-43cd-b830-6edf5369ee14
      position: {x: -40, y: -460}
      nodeUIDs:
      - 
      flowUIDs:
      - 066054b5-b9fc-4a58-9ebd-081b21b4aded
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|OnValueChanged
    - fullName: VRCSDKBaseNetworking.__SetOwner__VRCSDKBaseVRCPlayerApi_UnityEngineGameObject__SystemVoid
      uid: 837f4cb7-7911-4637-8f5d-f4e9b0cc2006
      position: {x: 430, y: -390}
      nodeUIDs:
      - e011db3a-e941-4638-95ed-1db764289ec3|0
      - 
      flowUIDs:
      - aebbea54-c452-4521-954a-00bb267dfeca
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: 
      - unityObjectValue: {fileID: 0}
        stringValue: 
    - fullName: VRCSDKBaseNetworking.__get_LocalPlayer__VRCSDKBaseVRCPlayerApi
      uid: e011db3a-e941-4638-95ed-1db764289ec3
      position: {x: 260, y: -260}
      nodeUIDs: []
      flowUIDs: []
      nodeValues: []
    - fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__RequestSerialization__SystemVoid
      uid: dfa92252-2496-4eef-b156-385bee9ace37
      position: {x: 730, y: -390}
      nodeUIDs:
      - 
      flowUIDs: []
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: 
    - fullName: Variable_SystemObject
      uid: ceecf9a0-6fab-4704-87b2-b5fb4217464a
      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: Event_OnVariableChange
      uid: 2ee6a71e-7892-4d2c-a868-d1fc992e3210
      position: {x: -240, y: -10}
      nodeUIDs:
      - 
      flowUIDs:
      - 38dce4b4-e64b-4eec-a652-c7f00d78eec7
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|681f688f-6b05-479f-b350-84415532656d
      - unityObjectValue: {fileID: 0}
        stringValue: 
    - fullName: Get_Variable
      uid: 0dcc3560-73e5-453f-9f2c-17b429083a2e
      position: {x: -310, y: -340}
      nodeUIDs:
      - 
      flowUIDs: []
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|181b218a-898a-4725-bee3-34d8a7893ce6
    - fullName: SystemSingle.__op_Inequality__SystemSingle_SystemSingle__SystemBoolean
      uid: 13e2ac21-b327-4cce-a645-ec0db208e723
      position: {x: 30, y: -260}
      nodeUIDs:
      - da176d15-c265-46bf-87a8-8a508f1d5f6e|0
      - f1962a04-ab03-44bf-bf14-29bd0699fd93|0
      flowUIDs: []
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0
      - unityObjectValue: {fileID: 0}
        stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0
    - fullName: Get_Variable
      uid: f1962a04-ab03-44bf-bf14-29bd0699fd93
      position: {x: -150, y: -210}
      nodeUIDs:
      - 
      flowUIDs: []
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|681f688f-6b05-479f-b350-84415532656d
      - unityObjectValue: {fileID: 0}
        stringValue: 
    - fullName: Branch
      uid: 066054b5-b9fc-4a58-9ebd-081b21b4aded
      position: {x: 180, y: -390}
      nodeUIDs:
      - 13e2ac21-b327-4cce-a645-ec0db208e723|0
      flowUIDs:
      - 837f4cb7-7911-4637-8f5d-f4e9b0cc2006
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|False
    updateOrder: 0
  graphElementData:
  - type: 2
    uid: 6a0871a6-97af-462f-868e-423ad3ffbeaa
    jsonData: '{"uid":"6a0871a6-97af-462f-868e-423ad3ffbeaa","layout":{"serializedVersion":"2","x":-440.0,"y":-530.0,"width":1384.0,"height":432.0},"containedElements":["4ae03fa2-a4e2-48b6-a2e9-950568f9c506","aebbea54-c452-4521-954a-00bb267dfeca","df9b1434-6157-4120-8f85-5d9646029b5d","da176d15-c265-46bf-87a8-8a508f1d5f6e","0348b9cd-402a-43cd-b830-6edf5369ee14","43337f82-869f-4ff7-a7c8-e25e17b441a1","837f4cb7-7911-4637-8f5d-f4e9b0cc2006","e011db3a-e941-4638-95ed-1db764289ec3","dfa92252-2496-4eef-b156-385bee9ace37","0dcc3560-73e5-453f-9f2c-17b429083a2e","13e2ac21-b327-4cce-a645-ec0db208e723","f1962a04-ab03-44bf-bf14-29bd0699fd93","066054b5-b9fc-4a58-9ebd-081b21b4aded","03da57fa-118d-4b11-8d1c-a7b34343af3a"],"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}}'
  - type: 2
    uid: d92e16d2-3692-45d2-b422-93cec59fe872
    jsonData: '{"uid":"d92e16d2-3692-45d2-b422-93cec59fe872","layout":{"serializedVersion":"2","x":-280.0,"y":-70.0,"width":993.0,"height":362.0},"containedElements":["8decd684-56d0-4a80-8757-9d1b74867cac","7c882298-e2ba-4d00-84d4-ef5560f3241a","38dce4b4-e64b-4eec-a652-c7f00d78eec7","e6e4b6ac-32c3-4664-b326-247fd6d68cfb","8c875359-d6c7-4bb0-83bd-01ffe4cf267c","01ff7ac5-acdd-4207-a8e8-d4953ab13349","2ee6a71e-7892-4d2c-a868-d1fc992e3210","01a5da6d-ed90-444e-b8e3-9a7afdab6522","57b26821-6967-42a4-89f1-9ae388669d60","c7256455-804d-46ba-8cae-f815ae765cc8","2fb29dc0-6bd5-4932-b385-faee5e290008"],"title":"Update
      Text and Slider Value whenever slider is moved","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}'
  - type: 3
    uid: 03da57fa-118d-4b11-8d1c-a7b34343af3a
    jsonData: '{"uid":"03da57fa-118d-4b11-8d1c-a7b34343af3a","layout":{"serializedVersion":"2","x":-420.0,"y":-470.0,"width":350.6292419433594,"height":90.59757995605469},"title":"This
      event can have any name we want as long as we make it the same on the UI item
      that triggers it.","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}'
  - type: 5
    uid: c386a6db-9e4c-4a8c-9ad8-9777e0978956
    jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":130.0,"width":200.0,"height":150.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}}'
  viewTransform:
    position: {x: 701.6493, y: 806.1245}
    scale: 1
  version: 1.0.0
  showAssembly: 1
