Automated: create new component page |
add info |
||
Line 3: | Line 3: | ||
|Name=Enum Member Editor | |Name=Enum Member Editor | ||
}} | }} | ||
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 == | == Usage == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|Continuous|Bool| | |Continuous|Bool| Whether changes should be continuous and instant. | ||
|_path|String| | |_path|String| The sub path of the value type to edit. | ||
|_target|{{RootFieldType|RelayRef`1|[[Type:IField|IField]]}}|TypeAdv2=true| | |_target|{{RootFieldType|RelayRef`1|[[Type:IField|IField]]}}|TypeAdv2=true| The field to edit and get info from. | ||
|_textDrive|{{RootFieldType|FieldDrive`1|[[Type:String|String]]}}|TypeAdv3=true| | |_textDrive|{{RootFieldType|FieldDrive`1|[[Type:String|String]]}}|TypeAdv3=true| The text field to drive with the enum's contents. | ||
|_button|'''[[Component:Button|Button]]'''|TypeAdv4=true| | |_button|'''[[Component:Button|Button]]'''|TypeAdv4=true| The button to edit the enum with. | ||
}} | }} | ||
== | == Usage == | ||
Not used directly by the user. | |||
== Examples == | == Examples == | ||
{{stub}} | |||
== See Also == | == See Also == | ||
Line 22: | Line 26: | ||
[[Category:Components:Uncategorized{{#translation:}}|Enum Member Editor]] | [[Category:Components:Uncategorized{{#translation:}}|Enum Member Editor]] | ||
[[Category:Components{{#translation:}}|Enum Member Editor]] | [[Category:Components{{#translation:}}|Enum Member Editor]] | ||
Revision as of 20:08, 16 February 2025
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
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. |
Usage
Not used directly by the user.
Examples
This article or section is a Stub. You can help the Resonite Wiki by expanding it.