Component:DestroyOnUserLeave

From Resonite Wiki
This page contains changes which are not marked for translation.


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

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