%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    instance_0: %UnityEngineUISlider, null\r\n
    \   value_0: %SystemSingle, null\r\n    instance_1: %UnityEngineUIText, null\r\n
    \   value_1: %SystemString, null\r\n    instance_2: %SystemSingle, null\r\n    player_0:
    %VRCSDKBaseVRCPlayerApi, null\r\n    obj_0: %UnityEngineGameObject, this\r\n    instance_3:
    %UnityEngineUISlider, null\r\n    instance_4: %UnityEngineUIText, null\r\n    value_2:
    %SystemString, null\r\n    instance_5: %SystemSingle, null\r\n    instance_6:
    %VRCUdonUdonBehaviour, this\r\n    Boolean_0: %SystemBoolean, 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 _onDeserialization\r\n    \r\n    _onDeserialization:\r\n    \r\n
    \       PUSH, uiSlider\r\n        PUSH, instance_0\r\n        COPY\r\n        PUSH,
    instance_0\r\n        PUSH, sliderValue\r\n        EXTERN, \"UnityEngineUISlider.__set_value__SystemSingle__SystemVoid\"\r\n
    \       PUSH, uiText\r\n        PUSH, instance_1\r\n        COPY\r\n        PUSH,
    sliderValue\r\n        PUSH, value_1\r\n        EXTERN, \"SystemSingle.__ToString__SystemString\"\r\n
    \       PUSH, instance_1\r\n        PUSH, value_1\r\n        EXTERN, \"UnityEngineUIText.__set_text__SystemString__SystemVoid\"\r\n
    \       JUMP, 0xFFFFFFFC\r\n    \r\n    .export OnValueChanged\r\n    \r\n    OnValueChanged:\r\n
    \   \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_3\r\n        COPY\r\n        PUSH,
    instance_3\r\n        PUSH, sliderValue\r\n        EXTERN, \"UnityEngineUISlider.__get_value__SystemSingle\"\r\n
    \       PUSH, sliderValue\r\n        PUSH, sliderValue\r\n        COPY\r\n        PUSH,
    uiText\r\n        PUSH, instance_4\r\n        COPY\r\n        PUSH, sliderValue\r\n
    \       PUSH, value_2\r\n        EXTERN, \"SystemSingle.__ToString__SystemString\"\r\n
    \       PUSH, instance_4\r\n        PUSH, value_2\r\n        EXTERN, \"UnityEngineUIText.__set_text__SystemString__SystemVoid\"\r\n
    \       PUSH, instance_6\r\n        EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__RequestSerialization__SystemVoid\"\r\n
    \       JUMP, 0xFFFFFFFC\r\n    \r\n    .export _onOwnershipRequest\r\n    \r\n
    \   _onOwnershipRequest:\r\n    \r\n        PUSH, Boolean_0\r\n        PUSH, __returnValue\r\n
    \       COPY\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: 60, y: -372}
      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: -215, y: 190}
      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: -40, y: -255}
      nodeUIDs:
      - 01a5da6d-ed90-444e-b8e3-9a7afdab6522|0
      flowUIDs: []
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: 
    - fullName: Set_Variable
      uid: aebbea54-c452-4521-954a-00bb267dfeca
      position: {x: 410, y: -440}
      nodeUIDs:
      - 
      - da176d15-c265-46bf-87a8-8a508f1d5f6e|0
      flowUIDs:
      - 4ae03fa2-a4e2-48b6-a2e9-950568f9c506
      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: UnityEngineUISlider.__set_value__SystemSingle__SystemVoid
      uid: 8c875359-d6c7-4bb0-83bd-01ffe4cf267c
      position: {x: 285, y: 155}
      nodeUIDs:
      - 01a5da6d-ed90-444e-b8e3-9a7afdab6522|0
      - e6e4b6ac-32c3-4664-b326-247fd6d68cfb|0
      flowUIDs:
      - 38dce4b4-e64b-4eec-a652-c7f00d78eec7
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: 
      - unityObjectValue: {fileID: 0}
        stringValue: 
    - fullName: Get_Variable
      uid: e6e4b6ac-32c3-4664-b326-247fd6d68cfb
      position: {x: 95, y: 275}
      nodeUIDs:
      - 
      flowUIDs: []
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|681f688f-6b05-479f-b350-84415532656d
    - 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: 655, y: 155}
      nodeUIDs:
      - 57b26821-6967-42a4-89f1-9ae388669d60|0
      - 7c882298-e2ba-4d00-84d4-ef5560f3241a|0
      flowUIDs:
      - 
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: 
      - unityObjectValue: {fileID: 0}
        stringValue: 
    - fullName: Get_Variable
      uid: 57b26821-6967-42a4-89f1-9ae388669d60
      position: {x: 495, y: -120}
      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: 285, y: 335}
      nodeUIDs:
      - e6e4b6ac-32c3-4664-b326-247fd6d68cfb|0
      flowUIDs: []
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: 
    - fullName: Event_OnDeserialization
      uid: 8decd684-56d0-4a80-8757-9d1b74867cac
      position: {x: -5, y: 35}
      nodeUIDs: []
      flowUIDs:
      - 8c875359-d6c7-4bb0-83bd-01ffe4cf267c
      nodeValues: []
    - fullName: Event_Custom
      uid: 0348b9cd-402a-43cd-b830-6edf5369ee14
      position: {x: -230, y: -440}
      nodeUIDs:
      - 
      flowUIDs:
      - 837f4cb7-7911-4637-8f5d-f4e9b0cc2006
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|OnValueChanged
    - fullName: UnityEngineUIText.__set_text__SystemString__SystemVoid
      uid: 4ae03fa2-a4e2-48b6-a2e9-950568f9c506
      position: {x: 660, y: -440}
      nodeUIDs:
      - 57b26821-6967-42a4-89f1-9ae388669d60|0
      - df9b1434-6157-4120-8f85-5d9646029b5d|0
      flowUIDs:
      - dfa92252-2496-4eef-b156-385bee9ace37
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: 
      - unityObjectValue: {fileID: 0}
        stringValue: 
    - fullName: SystemSingle.__ToString__SystemString
      uid: df9b1434-6157-4120-8f85-5d9646029b5d
      position: {x: 420, y: -280}
      nodeUIDs:
      - 43337f82-869f-4ff7-a7c8-e25e17b441a1|0
      flowUIDs: []
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: 
    - fullName: Get_Variable
      uid: 43337f82-869f-4ff7-a7c8-e25e17b441a1
      position: {x: 235, y: -230}
      nodeUIDs:
      - 
      flowUIDs: []
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|681f688f-6b05-479f-b350-84415532656d
    - fullName: VRCSDKBaseNetworking.__SetOwner__VRCSDKBaseVRCPlayerApi_UnityEngineGameObject__SystemVoid
      uid: 837f4cb7-7911-4637-8f5d-f4e9b0cc2006
      position: {x: 180, y: -445}
      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: -190, y: -350}
      nodeUIDs: []
      flowUIDs: []
      nodeValues: []
    - fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__RequestSerialization__SystemVoid
      uid: dfa92252-2496-4eef-b156-385bee9ace37
      position: {x: 885, y: -445}
      nodeUIDs:
      - 
      flowUIDs: []
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: 
    - fullName: Event_OnOwnershipRequest
      uid: 772106f6-9a8f-455b-9da9-77bc6b08f69b
      position: {x: 1205, y: -425}
      nodeUIDs: []
      flowUIDs:
      - 2ee70136-5140-4a24-842f-2040928cff62
      nodeValues: []
    - fullName: Const_SystemBoolean
      uid: 9f2e7500-7233-4c53-97b2-a5428e93bf8b
      position: {x: 1470, y: -340}
      nodeUIDs:
      - 
      flowUIDs: []
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|True
    - fullName: Set_ReturnValue
      uid: 2ee70136-5140-4a24-842f-2040928cff62
      position: {x: 1595, y: -425}
      nodeUIDs:
      - 
      - 9f2e7500-7233-4c53-97b2-a5428e93bf8b|0
      flowUIDs: []
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|ceecf9a0-6fab-4704-87b2-b5fb4217464a
      - 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
    updateOrder: 0
  graphElementData:
  - type: 2
    uid: 6a0871a6-97af-462f-868e-423ad3ffbeaa
    jsonData: '{"uid":"6a0871a6-97af-462f-868e-423ad3ffbeaa","layout":{"serializedVersion":"2","x":-254.8721160888672,"y":-511.33111572265627,"width":1121.0,"height":357.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"],"title":"Become
      the Owner, then Update the synced ''sliderValue'' variable from the value of
      the real Slider","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":-27.935707092285158,"y":-29.637348175048829,"width":889.0,"height":564.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"],"title":"Deserialization
      happens for everyone who is not the Owner","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}'
  - type: 2
    uid: 337a5462-32ea-4c20-9c37-3467f9c04f91
    jsonData: '{"uid":"337a5462-32ea-4c20-9c37-3467f9c04f91","layout":{"serializedVersion":"2","x":1180.0,"y":-490.0,"width":599.0,"height":259.0},"containedElements":["2ee70136-5140-4a24-842f-2040928cff62","9f2e7500-7233-4c53-97b2-a5428e93bf8b","772106f6-9a8f-455b-9da9-77bc6b08f69b"],"title":"Approve
      all Ownership Requests","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":-617.3085327148438,"y":-448.5935974121094,"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: -72.62726, y: 642.4358}
    scale: 0.57175326
  version: 1.0.0
  showAssembly: 1
