Component:DelegateProxySource: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add info
 
Line 3: Line 3:
|Name=Delegate Proxy Source`1
|Name=Delegate Proxy Source`1
}}
}}
{{stub}}
The '''DelegateProxySource''' component is used to make a [[Component:Button|Button]] [[UIX]] element give a sync delegate proxy when grabbed. To use almost any sync delegate with this component, provide "Delegate" as the type.


== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Delegate|{{RootFieldType|SyncDelegate`1|T}}|TypeAdv0=true|
|Delegate|{{RootFieldType|SyncDelegate`1|T}}|TypeAdv0=true| The field to proxy when grabbing.
}}
}}


== Behavior ==
== Usage ==
Attach to a slot with a valid [[UIX]] [[Component:Button|Button]] and provide a delegate to proxy. When the area is grabbed, the user will have the delegate in their hand.


== Examples ==
== Examples ==
The delegate names under [[Component:StaticTexture2D]].


== See Also ==
== See Also ==
* [[Sync Delegates]]


[[Category:Components:Uncategorized{{#translation:}}|Delegate Proxy Source`1]]
[[Category:Components:Uncategorized{{#translation:}}|Delegate Proxy Source`1]]
[[Category:Components{{#translation:}}|Delegate Proxy Source`1]]
[[Category:Components{{#translation:}}|Delegate Proxy Source`1]]
[[Category:Generic Components{{#translation:}}|Delegate Proxy Source`1]]
[[Category:Generic Components{{#translation:}}|Delegate Proxy Source`1]]
[[Category:ComponentStubs]]

Latest revision as of 16:35, 16 February 2025

Component image 
File:DelegateProxySource`1Component.png
Delegate Proxy Source`1 component as seen in the Scene Inspector

The DelegateProxySource component is used to make a Button UIX element give a sync delegate proxy when grabbed. To use almost any sync delegate with this component, provide "Delegate" as the type.

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.
Delegate delegate of identity T The field to proxy when grabbing.

Usage

Attach to a slot with a valid UIX Button and provide a delegate to proxy. When the area is grabbed, the user will have the delegate in their hand.

Examples

The delegate names under Component:StaticTexture2D.

See Also