Component:GizmoLink: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
Add info
 
Line 3: Line 3:
|Name=Gizmo Link
|Name=Gizmo Link
}}
}}
{{stub}}
The '''GizmoLink''' component handles the Interaction and connection of every [[Gizmo]] with their respective target. This is usually invisible to users and their inspectors, but upon opening a new inspector on a target of a Gizmo it appears. It is unknown if this is a bug. This component along with Gizmos do not save with items but Gizmos can save with a world.


== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|_worker|Worker|
|_worker|Worker| The logic handling this component.
|_gizmo|{{RootFieldType|RelayRef`1|[[Type:IComponentGizmo|IComponentGizmo]]}}|TypeAdv1=true|
|_gizmo|{{RootFieldType|RelayRef`1|[[Type:IComponentGizmo|IComponentGizmo]]}}|TypeAdv1=true| The Gizmo this is making a Link for.
|_type|{{RootFieldType|SyncType}}|TypeAdv2=true|
|_type|{{RootFieldType|SyncType}}|TypeAdv2=true| The C# Type of what this is targeting.
}}
}}


== Behavior ==
== Usage ==
Not used directly by the user.


== Examples ==
== Examples ==
Attached automatically to slots that are targets of any [[Type:IComponentGizmo|IComponentGizmo]].


== See Also ==
== See Also ==
* [[Gizmo]]


[[Category:Components:Uncategorized{{#translation:}}|Gizmo Link]]
[[Category:Components:Uncategorized{{#translation:}}|Gizmo Link]]
[[Category:Components{{#translation:}}|Gizmo Link]]
[[Category:Components{{#translation:}}|Gizmo Link]]
[[Category:ComponentStubs]]

Latest revision as of 14:21, 2 March 2025

Component image 
File:GizmoLinkComponent.png
Gizmo Link component as seen in the Scene Inspector

The GizmoLink component handles the Interaction and connection of every Gizmo with their respective target. This is usually invisible to users and their inspectors, but upon opening a new inspector on a target of a Gizmo it appears. It is unknown if this is a bug. This component along with Gizmos do not save with items but Gizmos can save with a world.

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.
_worker Worker The logic handling this component.
_gizmo direct RelayRef`1<IComponentGizmo> The Gizmo this is making a Link for.
_type direct SyncType The C# Type of what this is targeting.

Usage

Not used directly by the user.

Examples

Attached automatically to slots that are targets of any IComponentGizmo.

See Also