Component:ChildrenSaveBlocker

From Resonite Wiki
Component image 
ChildrenSaveBlocker component as seen in the Scene Inspector

The ChildrenSaveBlocker component prevents the slot's children from being saved with the slot.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.

Usage

When attached to a slot, the children of the slot will not be saved when the slot is part of an item being saved. The slot itself will still be saved.

Examples

There are a few cases where this component can be useful:

  • A room or workspace for user holding where items that are not persistent may find themselves in. This component can be used to save the workspace (and thus retain functionality) but not the items in it.
  • Placed on a slot with a SnapTarget to save snapping behavior while not saving any items placed in the snap target.
  • Placed on a slot with a GrabbableReceiverSurface or its OverrideParent to save receiver behavior while not saving any items on the surface.

See also