menu_bookDocumentation

Editor - s&box Documentation

calendar_today May 5, 2026 schedule ~1 min read person patrickjr verified 50

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?