Component:UserInterfaceEditModeSync

From Resonite Wiki
Component image 
User Interface Edit Mode Sync component as seen in the Scene Inspector

The UserInterfaceEditModeSync component allows a world to tell if a user is currently in edit mode.

Fields

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.
TargetUser direct UserRef The user to check edit mode for.
EditModeActive Bool Whether TargetUser is in edit mode.

Usage

Attach to a slot and either drive or set the values of the contained TargetUser to get an edit mode status.

Examples

Can be used to make world or item elements that should only be used in edit mode (basically super developer).

See Also