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
In your Spatial Creator Toolkit C# Assembly, you may have code in one more multiple Editor
subdirectories.
This is supported, but to prevent compile issues and analyzer warnings, exclude this code from your assembly in one of two ways:
Option 1: (preferred) Create an assembly definition inside each Editor folder. Make sure that the only selected platform is Editor.
Option 2: Surround all Editor code in a #if UNITY_EDITOR
… #endif
directive. You will need to do this for every file that has Editor code.
Check the list of platforms in the Assembly Definition you created for Editor code. Make sure the only platform is Editor (see screenshot above).
← Previous
Next →