menu_bookDocumentation
Editor - s&box Documentation
Editor
The s&box Editor provides a modern interface for building games.
Features
- Asset Previews - Thumbnails for models, materials, textures
- Custom Editors - Specialized inspectors for components
- Editor Apps - Standalone tools within the editor
- Editor Events - Hook into editor lifecycle
- Editor Shortcuts - Customizable key bindings
Tools
- Toolgun System - In-editor interaction tools
- Component Editor Tools - Gizmos and handles for components
- Editor Widgets - Reusable UI elements
- Mapping - Hammer-style brush editing
Customization
Create custom editors for your components:
CSHARP
[CustomEditor( typeof( MyComponent ) )]
public class MyComponentEditor : ComponentEditor<MyComponent>
{
public override void OnEnabled()
{
// Custom editor UI
}
}
Was this helpful?