%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: ObjectPool
  m_EditorClassIdentifier: 
  serializedUdonProgramAsset: {fileID: 11400000, guid: 20553fd2306dd0141a89db1a236132a4,
    type: 2}
  udonAssembly: ".data_start\r\n\r\n    .export pool\r\n    .export spawnRate\r\n
    \   \r\n    Boolean_0: %SystemBoolean, null\r\n    Boolean_1: %SystemBoolean,
    null\r\n    Boolean_2: %SystemBoolean, null\r\n    Single_0: %SystemSingle, null\r\n
    \   Single_1: %SystemSingle, null\r\n    Single_2: %SystemSingle, null\r\n    Single_3:
    %SystemSingle, null\r\n    obj_0: %UnityEngineGameObject, this\r\n    instance_0:
    %VRCSDK3ComponentsVRCObjectPool, null\r\n    GameObject_0: %UnityEngineGameObject,
    this\r\n    lastSpawnTime: %SystemSingle, null\r\n    pool: %VRCSDK3ComponentsVRCObjectPool,
    null\r\n    spawnRate: %SystemSingle, null\r\n\r\n.data_end\r\n\r\n.code_start\r\n\r\n
    \   .export _update\r\n    \r\n    _update:\r\n    \r\n        PUSH, Single_2\r\n
    \       EXTERN, \"UnityEngineTime.__get_realtimeSinceStartup__SystemSingle\"\r\n
    \       PUSH, Single_2\r\n        PUSH, lastSpawnTime\r\n        PUSH, Single_0\r\n
    \       EXTERN, \"SystemSingle.__op_Subtraction__SystemSingle_SystemSingle__SystemSingle\"\r\n
    \       PUSH, Single_0\r\n        PUSH, spawnRate\r\n        PUSH, Boolean_1\r\n
    \       EXTERN, \"SystemSingle.__op_GreaterThan__SystemSingle_SystemSingle__SystemBoolean\"\r\n
    \       PUSH, obj_0\r\n        PUSH, Boolean_2\r\n        EXTERN, \"VRCSDKBaseNetworking.__IsOwner__UnityEngineGameObject__SystemBoolean\"\r\n
    \       PUSH, Boolean_1\r\n        PUSH, Boolean_2\r\n        PUSH, Boolean_0\r\n
    \       EXTERN, \"SystemBoolean.__op_ConditionalAnd__SystemBoolean_SystemBoolean__SystemBoolean\"\r\n
    \       PUSH, Boolean_0\r\n        JUMP_IF_FALSE, 0x000000F4\r\n        PUSH,
    Single_2\r\n        PUSH, lastSpawnTime\r\n        COPY\r\n        PUSH, Single_2\r\n
    \       PUSH, lastSpawnTime\r\n        COPY\r\n        PUSH, pool\r\n        PUSH,
    instance_0\r\n        COPY\r\n        PUSH, instance_0\r\n        PUSH, GameObject_0\r\n
    \       EXTERN, \"VRCSDK3ComponentsVRCObjectPool.__TryToSpawn__UnityEngineGameObject\"\r\n
    \       JUMP, 0x000000F4\r\n        JUMP, 0xFFFFFFFC\r\n    \r\n    .export _start\r\n
    \   \r\n    _start:\r\n    \r\n        PUSH, lastSpawnTime\r\n        EXTERN,
    \"SystemSingle.__get_MinValue__SystemSingle\"\r\n        JUMP, 0xFFFFFFFC\r\n
    \   \r\n\r\n.code_end\r\n"
  assemblyError: 
  graphData:
    name: 
    description: 
    nodes:
    - fullName: Event_Update
      uid: 24b817b6-8301-492f-9a48-4abd123aa915
      position: {x: 1480, y: 430}
      nodeUIDs: []
      flowUIDs:
      - 422a5fe1-6bac-4b3a-a394-b3c5ec51d2fe
      nodeValues: []
    - fullName: Variable_SystemSingle
      uid: 5778ffa2-ab37-4edb-ac5b-ecb3d9bf1f59
      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|lastSpawnTime
      - 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_Start
      uid: b47abf82-7d5d-447b-abc5-7f1510fd7e1e
      position: {x: 980, y: 150}
      nodeUIDs: []
      flowUIDs:
      - 9d30deab-bbe4-41f1-90fb-a383383a113d
      nodeValues: []
    - fullName: Set_Variable
      uid: 9d30deab-bbe4-41f1-90fb-a383383a113d
      position: {x: 1120, y: 160}
      nodeUIDs:
      - 
      - 88fdf5d7-5fe9-445e-8955-31fd469f029d|0
      - 
      flowUIDs: []
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|5778ffa2-ab37-4edb-ac5b-ecb3d9bf1f59
      - unityObjectValue: {fileID: 0}
        stringValue: 
      - unityObjectValue: {fileID: 0}
        stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|False
    - fullName: SystemSingle.__get_MinValue__SystemSingle
      uid: 88fdf5d7-5fe9-445e-8955-31fd469f029d
      position: {x: 930, y: 240}
      nodeUIDs: []
      flowUIDs: []
      nodeValues: []
    - fullName: Branch
      uid: 422a5fe1-6bac-4b3a-a394-b3c5ec51d2fe
      position: {x: 1730, y: 430}
      nodeUIDs:
      - 75d0a2e4-7387-45c3-a9fc-1680922d54ed|0
      flowUIDs:
      - e789a3f2-0d84-44a4-8d15-a73850543686
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|False
    - fullName: SystemSingle.__op_Subtraction__SystemSingle_SystemSingle__SystemSingle
      uid: 2ed71826-d54b-48cd-a70f-751a348afa8a
      position: {x: 1180, y: 570}
      nodeUIDs:
      - 1aa4ffcc-26fe-44ac-b179-8b746a95e6e0|0
      - 9fc49f6f-47f1-4a65-aa24-0e10505e5407|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: UnityEngineTime.__get_realtimeSinceStartup__SystemSingle
      uid: 1aa4ffcc-26fe-44ac-b179-8b746a95e6e0
      position: {x: 920, y: 480}
      nodeUIDs: []
      flowUIDs: []
      nodeValues: []
    - fullName: Get_Variable
      uid: 9fc49f6f-47f1-4a65-aa24-0e10505e5407
      position: {x: 980, y: 660}
      nodeUIDs:
      - 
      flowUIDs: []
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|5778ffa2-ab37-4edb-ac5b-ecb3d9bf1f59
    - fullName: SystemSingle.__op_GreaterThan__SystemSingle_SystemSingle__SystemBoolean
      uid: c1d1d85c-57b8-4a59-8d53-1a277402f5dc
      position: {x: 1360, y: 610}
      nodeUIDs:
      - 2ed71826-d54b-48cd-a70f-751a348afa8a|0
      - b87260d8-cc14-41bb-8e92-5d2e8683f905|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|5
    - fullName: Set_Variable
      uid: e789a3f2-0d84-44a4-8d15-a73850543686
      position: {x: 1920, y: 430}
      nodeUIDs:
      - 
      - 1aa4ffcc-26fe-44ac-b179-8b746a95e6e0|0
      - 
      flowUIDs:
      - 22ca9a76-079d-4879-b4ac-18a7caf4d54a
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|5778ffa2-ab37-4edb-ac5b-ecb3d9bf1f59
      - unityObjectValue: {fileID: 0}
        stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1
      - unityObjectValue: {fileID: 0}
        stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|False
    - fullName: VRCSDK3ComponentsVRCObjectPool.__TryToSpawn__UnityEngineGameObject
      uid: 22ca9a76-079d-4879-b4ac-18a7caf4d54a
      position: {x: 2100, y: 480}
      nodeUIDs:
      - 4576ed72-075c-4491-bf23-a2c133902f6e|0
      flowUIDs: []
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: 
    - fullName: Variable_VRCSDK3ComponentsVRCObjectPool
      uid: 81a98a1c-bf8d-4de8-b874-8c701e517574
      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|pool
      - 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: 4576ed72-075c-4491-bf23-a2c133902f6e
      position: {x: 1900, y: 580}
      nodeUIDs:
      - 
      flowUIDs: []
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|81a98a1c-bf8d-4de8-b874-8c701e517574
    - fullName: VRCSDKBaseNetworking.__IsOwner__UnityEngineGameObject__SystemBoolean
      uid: 4f80683d-5a62-4b57-a9f9-93e4636ea7db
      position: {x: 1340, y: 780}
      nodeUIDs:
      - 
      flowUIDs: []
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: 
    - fullName: SystemBoolean.__op_ConditionalAnd__SystemBoolean_SystemBoolean__SystemBoolean
      uid: 75d0a2e4-7387-45c3-a9fc-1680922d54ed
      position: {x: 1530, y: 660}
      nodeUIDs:
      - c1d1d85c-57b8-4a59-8d53-1a277402f5dc|0
      - 4f80683d-5a62-4b57-a9f9-93e4636ea7db|0
      flowUIDs: []
      nodeValues:
      - 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
    - fullName: Variable_SystemSingle
      uid: c9b2d9ba-e706-42ea-842b-12bbd5e03a7b
      position: {x: 0, y: 0}
      nodeUIDs:
      - 
      - 
      - 
      - 
      - 
      flowUIDs: []
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|5
      - unityObjectValue: {fileID: 0}
        stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|spawnRate
      - 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: b87260d8-cc14-41bb-8e92-5d2e8683f905
      position: {x: 1180, y: 680}
      nodeUIDs:
      - 
      flowUIDs: []
      nodeValues:
      - unityObjectValue: {fileID: 0}
        stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|c9b2d9ba-e706-42ea-842b-12bbd5e03a7b
    updateOrder: 0
  graphElementData:
  - type: 2
    uid: 9b49bb5a-ce15-42fe-8dc5-f69ab666675c
    jsonData: '{"uid":"9b49bb5a-ce15-42fe-8dc5-f69ab666675c","layout":{"serializedVersion":"2","x":905.0,"y":85.0,"width":408.0,"height":262.0},"containedElements":["9d30deab-bbe4-41f1-90fb-a383383a113d","88fdf5d7-5fe9-445e-8955-31fd469f029d","b47abf82-7d5d-447b-abc5-7f1510fd7e1e"],"title":"OnStart","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}'
  - type: 2
    uid: 71aa4af0-fd70-4157-aa61-bf07111cf498
    jsonData: '{"uid":"71aa4af0-fd70-4157-aa61-bf07111cf498","layout":{"serializedVersion":"2","x":895.0,"y":365.0,"width":1022.0,"height":576.0},"containedElements":["22ca9a76-079d-4879-b4ac-18a7caf4d54a","e789a3f2-0d84-44a4-8d15-a73850543686","c1d1d85c-57b8-4a59-8d53-1a277402f5dc","9fc49f6f-47f1-4a65-aa24-0e10505e5407","1aa4ffcc-26fe-44ac-b179-8b746a95e6e0","2ed71826-d54b-48cd-a70f-751a348afa8a","422a5fe1-6bac-4b3a-a394-b3c5ec51d2fe","24b817b6-8301-492f-9a48-4abd123aa915","4576ed72-075c-4491-bf23-a2c133902f6e","75d0a2e4-7387-45c3-a9fc-1680922d54ed","4f80683d-5a62-4b57-a9f9-93e4636ea7db","1669540b-a8a1-4611-98be-762e46a42177","0c9c36a3-bb09-47ba-a6de-92a5e96e3ffc","b4993449-a5af-441c-bad6-cab336cede72","641c6bcb-7b7a-4903-87db-11addc77c958","7d55d95e-5836-4c7b-b8e3-9020dcbafa28","d01fc747-5c75-4271-a0da-197b946d584b","b22cc5c0-1270-4f12-8505-6ef0dc2ca1d1","f876e28a-f12d-4c2d-9832-d708a9853cbf","b27c588b-6b7b-45f7-a8c3-76ad5dab6e27","ce301c88-48e8-450a-b39c-918ba62560ef","7f7c3b66-25a7-4e32-913a-0365a5631e13","bacd2e0c-7e48-4466-b261-c0300303ed9d","b87260d8-cc14-41bb-8e92-5d2e8683f905"],"title":"Spawn
      Object","layer":0,"elementTypeColor":{"r":0.0,"g":0.0,"b":0.0,"a":0.0}}'
  - type: 5
    uid: f100d3c6-b06b-49d6-aa0f-37526d0ac82e
    jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":130.0,"width":211.0,"height":262.0}}'
  - type: 4
    uid: ace03e48-71a1-473b-a1e7-33821ff7642c
    jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":20.0,"width":0.0,"height":0.0}}'
  viewTransform:
    position: {x: -470.8941, y: 85.42198}
    scale: 0.7561437
  version: 1.0.0
  showAssembly: 0
