Getting Started
Package Types
Scene Setup
Economy
Scripting
Components
Guidelines
Support
Spatial C# Scripting Overview
Spatial Creator Toolkit supports C#, giving you access to a powerful programming language to build interactivity in your projects. C# scripting integrates seamlessly with Unity3D as well as the Spatial Creator Toolkit, perfect for unleashing your creativity.
Unity C# Scripting Support
Most of the C# scripting supported in the Creator Toolkit is out-of-the-box C# scripting in Unity. This means that if you're familiar with scripting in Unity, you'll feel right at home in Spatial.
There are some key differences from standard Unity development:
- Spatial Toolkit Projects are hosted by the Spatial app, so the build and packaging process is different than building a regular Unity app.
- C# code for Spatial Toolkit Projects is interpreted, so performance is slower than a natively compiled app.
- Certain operations, such as avatar control, camera control, network updates must be done using the Spatial APIs. More information about key differences is here.
Having access to Unityβs APIs in your project gives you amazing creative possibilities.
Spatial C# Scripting API Reference
Spatial offers access to custom services for controlling camera, avatars, synced objects, quests, and more.
For samples, see:
Third-Party Packages
Spatial maintains a list of some examples of Third-Party Unity packages with porting instructions.
Questions, Feedback, or Need to Use ___ API But Itβs Not Supported?
β Previous