Component:DestroyOnUserLeave

From Resonite Wiki
Revision as of 21:09, 3 March 2024 by PJB (talk | contribs) (Re-add bulldozed description)


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


Component image 
DestroyOnUserLeave component as seen in the Scene Inspector

Intoduction

The DestroyOnUserLeave component causes the parent slot to be deleted when the user specified in User leaves the world.

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.
TargetUser direct UserRef The user that will cause the parent slot to be deleted upon leaving

Behavior

Examples

Related Components