menu_bookDocumentation
Prefab Instance Overrides: Property, Component, and GameObject Customization
Prefab instance overrides in s&box allow you to customize individual instances of a prefab without affecting the original or other instances. The instance remembers what's different while still receiving updates when the prefab changes.
Types of Overrides
Property Overrides
Change any property value on GameObjects or Components within the prefab instance — position, rotation, scale, component properties, and GameObject settings.Component Additions
Add new components to GameObjects within the prefab instance. These only exist on this specific instance.GameObject Additions
Add new child GameObjects to the prefab instance hierarchy, unique to this instance.Managing Overrides
Reverting
Right-click any overridden property and select "Revert Override" to restore the original prefab value. You can revert individual properties, all overrides on a GameObject, or the entire instance.Applying
Right-click and select "Apply to Prefab" to make instance changes permanent — this updates the original prefab and affects all other instances.Nested Prefabs
When working with prefabs containing other prefabs, overrides work hierarchically. Changes to nested prefab instances are stored on the outermost prefab instance, keeping override data centralized.
Was this helpful?