Skip to content
This repository has been archived by the owner on Oct 11, 2019. It is now read-only.

Latest commit

 

History

History
81 lines (47 loc) · 3.76 KB

spatialos-window.md

File metadata and controls

81 lines (47 loc) · 3.76 KB

The Unity SpatialOS window is experimental.

The Unity SpatialOS window

The Unity SpatialOS window is an easy way to run spatial command-line tool (SpatialOS documentation) commands from inside Unity. It also lets you manage aspects of SpatialOS projects.

Opening the SpatialOS window

To open the SpatialOS window:

  1. In the Unity Editor, use the menu Window > SpatialOS.

    SpatialOS window

  2. At the top of the window are your project's name and SpatialOS SDK version.

    • Click Build to open the Build tab.
    • Click Settings to open the Settings tab.
    • Click Support for quick links to the forums and documentation.

Building from the SpatialOS window

From the Build tab, you can run the following build tasks:

To choose which target you're building for, use the drop-down menu and checkboxes at the top of the build tab:

SpatialOS window: choose target

For local deployments, select Development. For cloud deployments, select Deployment. Similarly, select the checkbox for whichever worker code you've made changes to.

Interacting with deployments

From the Build tab, you can:

Settings

From the Settings tab, you can:

  • Under Spatial CLI location, set the location of the spatial CLI tool.

    On Windows: If the spatial CLI cannot be found, enter the path to spatial.exe here.

    On macOS: You'll need to set the path to spatial from the SpatialOS window in the Unity Editor:

    1. In the window, click Settings.

    2. In the Spatial location field, enter the path to where spatial is installed on your machine.

      If you used brew cask install spatial to install spatial, the path should be /usr/local/bin/spatial.

  • Update spatial to the latest version by clicking Update. We recommend doing this frequently.

SpatialOS Settings window