FormFromLight · Unity package
=============================

This folder contains the Unity editor extension for FormFromLight. It adds a
Window > FormFromLight pane that pulls your generated models from the cloud
and imports their GLBs into Assets/ with one click.

Files:
  Editor/
    FormFromLightWindow.cs   · the editor window itself

Install · two options:

  A) Copy
     1. Copy this folder into your project's Assets/ (so the path becomes
        Assets/FormFromLight/Editor/FormFromLightWindow.cs).
     2. Make sure you have a GLB importer (Unity's built-in works · so does
        com.unity.cloud.gltfast for richer support).

  B) Package
     1. In Unity, Assets > Import Package > Custom Package... > pick the
        FormFromLight.unitypackage file shipped alongside this README.

Use:
  1. Window > FormFromLight.
  2. Paste your API key (issue at https://formfromlight.com/profile/api-keys).
  3. Hit Refresh model list.
  4. Click Import on any row · GLBs land in Assets/FormFromLight/.

Notes:
  * Your API key is stored in EditorPrefs (local to your install).
  * Files are saved as Assets/FormFromLight/model_{id}.glb.
  * Unity 2022.3 LTS or newer is recommended (we use UnityWebRequest with the
    completed-callback pattern).
