# Runtime editor

## Runtime editor

[![RuntimeEditor](https://github.com/doorfortyfour/DataboxDocumentation/raw/master/docs/img/runtimeEditor.png)](https://github.com/doorfortyfour/DataboxDocumentation/blob/master/docs/img/runtimeEditor.png)

The runtime editor allows you to access all of your data at runtime as long as your data is using the GUILayout API for drawing it's value.\
(EditorGUILayout API won't work for runtime builds)

### Create the runtime editor

1. Simply create an empty game object in your scene and add a new `DataboxRuntimeEditor` component to it.
2. Assign a Databox object manager to the runtime editor.
3. Databox comes with a custom Databox GUI style which you can add to the Editor Skin property as well.
4. The runtime editor is accessible at runtime from the gui button at the top.


---

# 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://giantgrey.gitbook.io/databox-documentation/runtime-editor.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.
