Component:DelegateEditor: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add info
Line 3: Line 3:
|Name=Delegate Editor
|Name=Delegate Editor
}}
}}
{{stub}}
The '''DelegateEditor''' component is used in the Inspector window of Components like the [[Component:StaticTexture2D]] to show the name of methods of [[Sync Delegate]]s.


== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|_targetDelegate|{{RootFieldType|RelayRef`1|[[Type:ISyncDelegate|ISyncDelegate]]}}|TypeAdv0=true|
|_targetDelegate|{{RootFieldType|RelayRef`1|[[Type:ISyncDelegate|ISyncDelegate]]}}|TypeAdv0=true| The Sync delegate to show.
|_textDrive|{{RootFieldType|FieldDrive`1|[[Type:String|String]]}}|TypeAdv1=true|
|_textDrive|{{RootFieldType|FieldDrive`1|[[Type:String|String]]}}|TypeAdv1=true| The text field to drive with the name of the Sync delegate method.
|_button|'''[[Component:Button|Button]]'''|TypeAdv2=true|
|_button|'''[[Component:Button|Button]]'''|TypeAdv2=true| The button to interface with the Sync delegate.
}}
}}


== Behavior ==
== Usage ==
This isn't usually used by the user, and falls into the category of Components used in [[Ref Hacking]].


== Examples ==
== Examples ==
Used in the Inspector window of a [[Component:StaticTexture2D]] to show the name of methods of [[Sync Delegate]]s


== See Also ==
== See Also ==
Line 20: Line 22:
[[Category:Components:Uncategorized{{#translation:}}|Delegate Editor]]
[[Category:Components:Uncategorized{{#translation:}}|Delegate Editor]]
[[Category:Components{{#translation:}}|Delegate Editor]]
[[Category:Components{{#translation:}}|Delegate Editor]]
[[Category:ComponentStubs]]

Revision as of 19:48, 15 February 2025

Component image 
Delegate Editor component as seen in the Scene Inspector

The DelegateEditor component is used in the Inspector window of Components like the Component:StaticTexture2D to show the name of methods of Sync Delegates.

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.
_targetDelegate direct RelayRef`1<ISyncDelegate> The Sync delegate to show.
_textDrive field drive of String The text field to drive with the name of the Sync delegate method.
_button Button The button to interface with the Sync delegate.

Usage

This isn't usually used by the user, and falls into the category of Components used in Ref Hacking.

Examples

Used in the Inspector window of a Component:StaticTexture2D to show the name of methods of Sync Delegates

See Also