%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: ae0a3672e9e834b4e97bfc1537876407,
    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    Boolean_0:
    %SystemBoolean, 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    sliderValue:
    %SystemSingle, null\r\n    uiSlider: %UnityEngineUISlider, null\r\n    uiText:
    %UnityEngineUIText, 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, obj_0\r\n        PUSH, Boolean_0\r\n        EXTERN, \"VRCSDKBaseNetworking.__IsOwner__UnityEngineGameObject__SystemBoolean\"\r\n
    \       PUSH, Boolean_0\r\n        JUMP_IF_FALSE, 0x000118\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, 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
    \       JUMP, 0x000118\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.24345, y: 191.63408}
      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: -37.584915, y: -258.22095}
      nodeUIDs:
      - 01a5da6d-ed90-444e-b8e3-9a7afdab6522|0
      flowUIDs: []
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: 
    - fullName: Set_Variable
      uid: aebbea54-c452-4521-954a-00bb267dfeca
      position: {x: 408.9645, y: -446.68317}
      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: 286.0299, y: 156.02438}
      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: 96.12717, y: 273.9497}
      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: 654.046, y: 152.52637}
      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: 490.12122, y: -133.25194}
      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: 286.34738, y: 332.8653}
      nodeUIDs:
      - e6e4b6ac-32c3-4664-b326-247fd6d68cfb|0
      flowUIDs: []
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: 
    - fullName: Event_OnDeserialization
      uid: 8decd684-56d0-4a80-8757-9d1b74867cac
      position: {x: -2.9357066, y: 34.36265}
      nodeUIDs: []
      flowUIDs:
      - 8c875359-d6c7-4bb0-83bd-01ffe4cf267c
      nodeValues: []
    - fullName: Event_Custom
      uid: 0348b9cd-402a-43cd-b830-6edf5369ee14
      position: {x: -229.87212, y: -444.94534}
      nodeUIDs:
      - 
      flowUIDs:
      - 572ed357-fb22-4c21-b55d-00b503413c20
      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: 659.1355, y: -447.33112}
      nodeUIDs:
      - 57b26821-6967-42a4-89f1-9ae388669d60|0
      - df9b1434-6157-4120-8f85-5d9646029b5d|0
      flowUIDs: []
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: 
      - unityObjectValue: {fileID: 0}
        stringValue: 
    - fullName: SystemSingle.__ToString__SystemString
      uid: df9b1434-6157-4120-8f85-5d9646029b5d
      position: {x: 419.531, y: -283.4615}
      nodeUIDs:
      - 43337f82-869f-4ff7-a7c8-e25e17b441a1|0
      flowUIDs: []
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: 
    - fullName: VRCSDKBaseNetworking.__IsOwner__UnityEngineGameObject__SystemBoolean
      uid: bf494304-bd48-43c1-8cbe-05c7e09d9e6e
      position: {x: -14.194518, y: -376.43588}
      nodeUIDs:
      - 
      flowUIDs: []
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: 
    - fullName: Branch
      uid: 572ed357-fb22-4c21-b55d-00b503413c20
      position: {x: 231.43634, y: -444.6752}
      nodeUIDs:
      - bf494304-bd48-43c1-8cbe-05c7e09d9e6e|0
      flowUIDs:
      - aebbea54-c452-4521-954a-00bb267dfeca
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|False
    - fullName: Get_Variable
      uid: 43337f82-869f-4ff7-a7c8-e25e17b441a1
      position: {x: 235.77238, y: -232.97202}
      nodeUIDs:
      - 
      flowUIDs: []
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|681f688f-6b05-479f-b350-84415532656d
  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":["572ed357-fb22-4c21-b55d-00b503413c20","bf494304-bd48-43c1-8cbe-05c7e09d9e6e","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"],"title":"The
      Owner of this Object will send their value to everyone else","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: 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: 3
    uid: 01ff7ac5-acdd-4207-a8e8-d4953ab13349
    jsonData: '{"uid":"01ff7ac5-acdd-4207-a8e8-d4953ab13349","layout":{"serializedVersion":"2","x":102.05235290527344,"y":446.74249267578127,"width":600.0555419921875,"height":62.926856994628909},"title":"The
      sliderValue is a float, which means it''s a number with a decimal. We can turn
      this into text using Float To string","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}'
  showAssembly: 1
