{
  "version": 1,
  "comment": "_startでShirasUdonResultTextを検索し、UnityEngine.UI.Textを取得して実行結果を書き込みます。対象GameObjectまたはTextが見つからない場合は何も行いません。",
  "data": [
    {
      "name": "__result_object_name",
      "type": "SystemString",
      "value": "ShirasUdonResultText"
    },
    {
      "name": "__result_object",
      "type": "UnityEngineGameObject",
      "value": null
    },
    {
      "name": "__text_type",
      "type": "SystemType",
      "value": "UnityEngineUIText"
    },
    {
      "name": "__result_text",
      "type": "UnityEngineUIText",
      "value": null
    },
    {
      "name": "__found",
      "type": "SystemBoolean",
      "value": false
    },
    {
      "name": "__message",
      "type": "SystemString",
      "value": "Hello from ShirasUdon!\n\nGameObject.Find and GetComponent succeeded.\nThis text area grows with its contents and can be scrolled."
    }
  ],
  "code": [
    {
      "name": "_start",
      "export": true,
      "instructions": [
        {
          "op": "PUSH",
          "operand": "__result_object_name"
        },
        {
          "op": "EXTERN",
          "signature": "UnityEngineGameObject.__Find__SystemString__UnityEngineGameObject",
          "argumentCount": 1,
          "return": "__result_object"
        },
        {
          "op": "POP"
        },
        {
          "op": "PUSH",
          "operand": "__result_object"
        },
        {
          "op": "EXTERN",
          "signature": "UnityEngineObject.__op_Implicit__UnityEngineObject__SystemBoolean",
          "argumentCount": 1,
          "return": "__found"
        },
        {
          "op": "JUMP_IF_FALSE",
          "operand": "_end"
        },
        {
          "op": "PUSH",
          "operand": "__result_object"
        },
        {
          "op": "PUSH",
          "operand": "__text_type"
        },
        {
          "op": "EXTERN",
          "signature": "UnityEngineGameObject.__GetComponent__SystemType__UnityEngineComponent",
          "argumentCount": 2,
          "return": "__result_text"
        },
        {
          "op": "POP"
        },
        {
          "op": "PUSH",
          "operand": "__result_text"
        },
        {
          "op": "EXTERN",
          "signature": "UnityEngineObject.__op_Implicit__UnityEngineObject__SystemBoolean",
          "argumentCount": 1,
          "return": "__found"
        },
        {
          "op": "JUMP_IF_FALSE",
          "operand": "_end"
        },
        {
          "op": "PUSH",
          "operand": "__result_text"
        },
        {
          "op": "PUSH",
          "operand": "__message"
        },
        {
          "op": "EXTERN",
          "signature": "UnityEngineUIText.__set_text__SystemString__SystemVoid",
          "argumentCount": 2
        },
        {
          "op": "JUMP",
          "operand": "_end"
        }
      ]
    },
    {
      "name": "_end",
      "export": false,
      "instructions": [
        {
          "op": "PUSH",
          "operand": "__found"
        },
        {
          "op": "POP"
        }
      ]
    }
  ]
}
