# Editor

Use the **MeshMap Scan Importer** editor window to view, import, and load scans into Unity.

Having access to highly detailed scans is helpful for knowing where to place `GameObject`s when designing location-based XR experiences.

{% hint style="success" %}
Currently, only .glb/.gltf files are supported.
{% endhint %}

## Usage

1. Make sure to [configure your app API key in the MeshMap Hub](/unity-sdk/core.md#api-key) and [connect to your MeshMap account](/unity-sdk/core/auth/editor.md).
2. Open the editor window via `MeshMap > Scan Importer`.
3. Load the scans data.
   1. Select "Get User Scans" to load public and private scans from your MeshMap account.
   2. Select "Get Public Scans" to load all public scans.
4. Select "Import" next to any supported filetypes.

<figure><img src="/files/sm25yWxqJ0GiKYz0w8he" alt=""><figcaption><p>Scan Importer editor window.</p></figcaption></figure>

4. Scans are imported to `Assets/Resources/MeshMap/Scans/`.

<figure><img src="/files/NTZCfBx3kkbCmuxcUFGI" alt=""><figcaption><p>Scan Downloaded popup window.</p></figcaption></figure>

5. Select "Add to Scene" to automatically load the scan `GameObject` into the active scene.

<figure><img src="/files/5HZMyy33zF88NPxih6OW" alt=""><figcaption><p>Example scan of Washington Square Park loaded in the scene.</p></figcaption></figure>

6. You can now use the scan as a reference to design location-based XR experiences. See [Mapping](/contribute/mapping.md) for tips on how to capture your own realistic scans.


---

# 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.meshmap.com/unity-sdk/core/scans/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.
