ChildrenSaveBlocker (Component): Difference between revisions

From Resonite Wiki
mNo edit summary
m Remove introduction header
Line 2: Line 2:


{{Stub}}
{{Stub}}
The ChildSaveBlocker prevents a slot's children from being saved.


== Usage ==
== Usage ==

Revision as of 20:04, 26 April 2024

Component image 
ChildSaveBlocker component as seen in the Scene Inspector


This article or section is a Stub. You can help the Resonite Wiki by expanding it.


The ChildSaveBlocker prevents a slot's children from being saved.

Usage

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.

Behavior

When the object this component is on is Saved, this component prevents any children slots from being saved with it.

Examples

Putting a ChildSaveBlocker on the same slot as a SnapTarget is useful if you don't want anything snapped to the SnapTarget to be saved with it.