Component:EnumMemberEditor

From Resonite Wiki
Component image 
Enum Member Editor component as seen in the Scene Inspector

The EnumMemberEditor component is used in inspectors to edit enum values.

Commonly used in Ref Hacking if interacted with directly by the user instead of as part of an inspector visual.

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.
Continuous Bool Whether changes should be continuous and instant.
_path String The sub path of the value type to edit.
_target direct RelayRef`1<IField> The field to edit and get info from.
_textDrive field drive of String The text field to drive with the enum's contents.
_button Button The button to edit the enum with.

Sync Delegates

Triggers
Method Name Method type and Arguments. Is the method hidden? Description
DecrementEnum:ButtonEventHandler ButtonEventHandler Goes up by 1 in the enum values.
IncrementEnum:ButtonEventHandler ButtonEventHandler Goes down by 1 in the enum values.

Usage

Not used directly by the user.

Examples

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

See Also