menu_bookDocumentation

Prefab Templates: Adding Custom Prefabs to the s&box Create Menu

calendar_today May 20, 2026 schedule ~1 min read person PatrickJr verified 50

s&box Prefab Templates let you add custom prefabs to the GameObject Create menu in the scene editor.

Setup

Enable "Show In Menu" on a Prefab File in the inspector. The prefab will then appear as an option in the Create menu. Configure additional settings:

  • Menu Path — Place the template in a sub-menu (e.g., "Effects/Rain")
  • Menu Icon — Custom icon for the menu entry
  • DontBreakAsTemplate — Controls whether the prefab reference is maintained after creation:
- false (default): The prefab link is broken on creation (acts as a template/starting point) - true: The prefab reference is maintained (instance stays linked to the prefab file)

Use Cases

  • Provide team members with pre-configured GameObjects (cameras, spawn points, triggers)
  • Create reusable effect prefabs accessible from the right-click menu
  • Build a library of common game objects for rapid scene assembly
Templates that break the prefab link are ideal for starting points that will be customized. Templates that maintain the link are better for standardized objects that should stay synchronized with the source prefab.
Was this helpful?