Getting Started
Package Types
Scene Setup
Custom Collision, Layers, and Tags
Key Differences from Standard Unity3D development
Economy
Scripting
C# Scripting
Visual Scripting
Sync and Multiplayer
Components
Environment Settings Overrides
Render Pipeline Settings Overrides
Guidelines
Supported Features and Limitations
Support
<aside> π The Creator Toolkit also supports Visual Scripting. Learn more here.
</aside>
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.
<aside> π¦ To get started immediately, visit the C# - Getting Started page.
</aside>
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:
Having access to Unityβs APIs in your project gives you amazing creative possibilities.
<aside> ποΈ If you're new to C# scripting in Unity or need a refresher, Unity's comprehensive documentation is an excellent resource.
</aside>
<aside> <img src="/icons/warning_red.svg" alt="/icons/warning_red.svg" width="40px" /> Spatial supports a subset of Unity C# APIs for security reasons. These limitations are enforced for you through the editor; learn more on our C# Scripting API Limitations page.
</aside>
Spatial offers access to custom services for controlling camera, avatars, synced objects, quests, and more.
<aside> π For full API documentation, see: Spatial Creator Toolkit Scripting API
</aside>
For samples, see:
Spatial maintains a list of some examples of Third-Party Unity packages with porting instructions.
<aside> <img src="/icons/thought-dialogue_gray.svg" alt="/icons/thought-dialogue_gray.svg" width="40px" /> If you need functionality of a certain API that is not supported let us know! We might be able to expand our supported APIs or write similar functionality in a Spatial-unique API.
Additionally, we want your feedback regarding our documentation. Is something missing, not clear, or maybe we need to up our code sample game?
The best place to give this kind of feedback directly to the team is the Creator Toolkit section of the Spatial Discord.
</aside>
<aside> ποΈ C# support went into public beta as of February 9th, 2024.
</aside>
β Previous
Next β