{
  "version": 1,
  "comment": "_startでGameObject.Findを使ってFloorを取得し、VRCTweenでY軸をゆっくり無限回転させます。_stopで保持中のTweenHandleをKillします。回転は各クライアントでローカルに実行されます。",
  "data": [
    {
      "name": "__floor_name",
      "type": "SystemString",
      "value": "Floor"
    },
    {
      "name": "__floor",
      "type": "UnityEngineGameObject",
      "value": null
    },
    {
      "name": "__floor_transform",
      "type": "UnityEngineTransform",
      "value": null
    },
    {
      "name": "__initial_rotation",
      "type": "UnityEngineVector3",
      "value": null
    },
    {
      "name": "__zero",
      "type": "SystemSingle",
      "value": 0
    },
    {
      "name": "__rotation_step",
      "type": "SystemSingle",
      "value": 90
    },
    {
      "name": "__rotation_delta",
      "type": "UnityEngineVector3",
      "value": null
    },
    {
      "name": "__target_rotation",
      "type": "UnityEngineVector3",
      "value": null
    },
    {
      "name": "__duration_seconds",
      "type": "SystemSingle",
      "value": 5
    },
    {
      "name": "__linear",
      "type": "VRCSDK3ComponentsVRCTweenEase",
      "value": 1
    },
    {
      "name": "__infinite_loops",
      "type": "SystemInt32",
      "value": -1
    },
    {
      "name": "__incremental",
      "type": "VRCSDK3ComponentsVRCTweenLoopType",
      "value": 2
    },
    {
      "name": "__tween_handle",
      "type": "VRCSDK3ComponentsVRCTweenHandle",
      "value": null
    },
    {
      "name": "__looped_tween_handle",
      "type": "VRCSDK3ComponentsVRCTweenHandle",
      "value": null
    },
    {
      "name": "__default_tween_handle",
      "type": "VRCSDK3ComponentsVRCTweenHandle",
      "value": null
    }
  ],
  "code": [
    {
      "name": "_start",
      "export": true,
      "instructions": [
        {
          "op": "PUSH",
          "operand": "__floor_name"
        },
        {
          "op": "EXTERN",
          "signature": "UnityEngineGameObject.__Find__SystemString__UnityEngineGameObject",
          "argumentCount": 1,
          "return": "__floor"
        },
        {
          "op": "POP"
        },
        {
          "op": "PUSH",
          "operand": "__floor"
        },
        {
          "op": "EXTERN",
          "signature": "VRCSDK3ComponentsVRCTween.__KillAllTweens__UnityEngineGameObject__SystemVoid",
          "argumentCount": 1
        },
        {
          "op": "PUSH",
          "operand": "__floor"
        },
        {
          "op": "EXTERN",
          "signature": "UnityEngineGameObject.__get_transform__UnityEngineTransform",
          "argumentCount": 1,
          "return": "__floor_transform"
        },
        {
          "op": "POP"
        },
        {
          "op": "PUSH",
          "operand": "__floor_transform"
        },
        {
          "op": "EXTERN",
          "signature": "UnityEngineTransform.__get_localEulerAngles__UnityEngineVector3",
          "argumentCount": 1,
          "return": "__initial_rotation"
        },
        {
          "op": "POP"
        },
        {
          "op": "PUSH",
          "operand": "__zero"
        },
        {
          "op": "PUSH",
          "operand": "__rotation_step"
        },
        {
          "op": "PUSH",
          "operand": "__zero"
        },
        {
          "op": "EXTERN",
          "signature": "UnityEngineVector3.__ctor__SystemSingle_SystemSingle_SystemSingle__UnityEngineVector3",
          "argumentCount": 3,
          "return": "__rotation_delta"
        },
        {
          "op": "POP"
        },
        {
          "op": "PUSH",
          "operand": "__initial_rotation"
        },
        {
          "op": "PUSH",
          "operand": "__rotation_delta"
        },
        {
          "op": "EXTERN",
          "signature": "UnityEngineVector3.__op_Addition__UnityEngineVector3_UnityEngineVector3__UnityEngineVector3",
          "argumentCount": 2,
          "return": "__target_rotation"
        },
        {
          "op": "POP"
        },
        {
          "op": "PUSH",
          "operand": "__floor"
        },
        {
          "op": "PUSH",
          "operand": "__target_rotation"
        },
        {
          "op": "PUSH",
          "operand": "__duration_seconds"
        },
        {
          "op": "PUSH",
          "operand": "__linear"
        },
        {
          "op": "EXTERN",
          "signature": "VRCSDK3ComponentsVRCTween.__TweenLocalRotation__UnityEngineGameObject_UnityEngineVector3_SystemSingle_VRCSDK3ComponentsVRCTweenEase__VRCSDK3ComponentsVRCTweenHandle",
          "argumentCount": 4,
          "return": "__tween_handle"
        },
        {
          "op": "PUSH",
          "operand": "__infinite_loops"
        },
        {
          "op": "PUSH",
          "operand": "__incremental"
        },
        {
          "op": "EXTERN",
          "signature": "VRCSDK3ComponentsVRCTweenHandle.__SetLoops__SystemInt32_VRCSDK3ComponentsVRCTweenLoopType__VRCSDK3ComponentsVRCTweenHandle",
          "argumentCount": 3,
          "return": "__looped_tween_handle"
        },
        {
          "op": "POP"
        }
      ]
    },
    {
      "name": "_stop",
      "export": true,
      "instructions": [
        {
          "op": "PUSH",
          "operand": "__looped_tween_handle"
        },
        {
          "op": "EXTERN",
          "signature": "VRCSDK3ComponentsVRCTweenHandle.__Kill__SystemVoid",
          "argumentCount": 1
        },
        {
          "op": "PUSH",
          "operand": "__default_tween_handle"
        },
        {
          "op": "PUSH",
          "operand": "__looped_tween_handle"
        },
        {
          "op": "COPY"
        }
      ]
    }
  ]
}
