Component image 
Ref Editor component as seen in the Scene Inspector

The RefEditor component is used internally by inspectors to show the human readable name of any IWorldElement. Whenever you are looking at a field and see a text like "Enabled on ObjectRoot on ComponentHolder", that description is generated by this component. This can be used to identify fields in the process of Ref Hacking which is one of the Things to Avoid
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. |
_targetRef
|
direct RelayRef`1<ISyncRef> | The reference to generate a short description for |
_textDrive
|
field drive of String | The text to fill with the short description of _targetRef
|
_button
|
Button | The button that allows for setting the field of _targetRef when clicked.
|
Sync Delegates
Method Name | Method type and Arguments. | Is the method hidden? | Description |
---|---|---|---|
RemovePressed:ButtonEventHandler
|
ButtonEventHandler | ✓ | Called when the removed button is touched. |
OpenInspectorButton:ButtonEventHandler
|
ButtonEventHandler | ✓ | Called when the open inspector button is touched. |
OpenWorkerInspectorButton:ButtonEventHandler
|
ButtonEventHandler | ✓ | Called when the open worker inspector (single component inspector) button is touched. |
SetReference:ButtonEventHandler
|
ButtonEventHandler | ✓ | Called when the set reference button is touched. |
Usage
Button is not required for the _textDrive
to fill with the description of _targetRef
Examples
Used internally by inspectors.