Component:DestroyOnUserLeave: Difference between revisions

From Resonite Wiki
Automated: update Fields, Categories
Re-add bulldozed description
Line 10: Line 10:
== Usage ==
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|TargetUser|{{RootFieldType|UserRef}}|TypeAdv0=true|
|TargetUser|{{RootFieldType|UserRef}}|TypeAdv0=true| The user that will cause the parent slot to be deleted upon leaving
}}
}}
== Behavior ==
== Behavior ==

Revision as of 21:09, 3 March 2024


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