Component:DestroyWithoutChildren

From Resonite Wiki
Component image 
Destroy Without Children component as seen in the Scene Inspector

The DestroyWithoutChildren component is used to make a slot self-destruct when it has no children.

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. Some components stop their functionality when this field is disabled, but some don't.

Usage

This component is a tag, so attaching it will make it automatically start working. Because of this, do not add it to a slot without children if you do not want to lose that slot!

Examples

See Also