menu_bookDocumentation

Custom Assets - s&box Documentation

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

Official s&box documentation for Custom Assets - user-defined resource types. Custom Assets allow defining new asset types for your game. GameResource is the base class for custom assets. PostLoad initializes data after loading from disk. PostReload handles hot-reloading when assets change. ResourceLibrary.Get loads custom assets by path. Assets appear in the asset browser for easy assignment. Custom assets support properties with [Property] attributes. The system handles asset dependencies automatically. Custom assets can reference other assets for complex relationships. Asset networking synchronizes references across clients.

Was this helpful?