# Use app data in script

To use app data in your scripts just simply add field of type MetaproAppSetup and assign scriptable object in inspector.

<figure><img src="https://lh6.googleusercontent.com/gC4lpP_FWZI1m7QPVbDjO8YvJR6V7BIGIiataBeNiEs999A4n4BliNQTkf42D4rC9LwvrRfaPT6RaGLn3OYzazvVmZ3I2G_LW5NASQ_pg5H-oMKRSq-reGJuhcVeUAToAY7AfawkHYmsmHMyWfbXFlPaSfQ6Cw2yip6nGU93gf09pyduTyCvTWNzSHLJ9A" alt=""><figcaption></figcaption></figure>

If you cannot use that type of assignment you can use another approach of searching for asset with type MetaproAppSetup and extracting from returned list needed asset.&#x20;

**WARNING:** This approach can lead to unexpected results when You have more than one scriptable object in your project. Use it carefully.

<figure><img src="https://lh5.googleusercontent.com/EKCYr04BoWnESy0gbP4lGg5nUeLw9nAlDtCVXnhoZfcRdV98KCokG-OJnKufHldC2UeTMZy9zpx-SFbGzTBgYOyS3dxr89KGWyo8W1rE7Pm61Lhj2eiLuBwHVhWqfeDv1G63n7iB4CTgrwBRGXnSSsJbKSMWLDCx09op_XH9vXfsPt314O_UMHpqgM49JQ" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.metaproprotocol.com/metapro-protocol/unity-plugin/guides/quick-start/1.-editor/use-app-data-in-script.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
