Component:GrabReferenceSet: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
No edit summary
Line 4: Line 4:
}}
}}
{{stub}}
{{stub}}
The GrabReferenceSet can be used to write a reference to a field on grab and release.


== Usage ==
== Usage ==
Line 15: Line 16:


== Behavior ==
== Behavior ==
While on the same slot as a Grabbable the component can be configured to set a reference on grabbed and on released.


== Examples ==
== Examples ==

Revision as of 00:06, 10 May 2024

Component image 
Grab Reference Set`1 component as seen in the Scene Inspector


This article or section is a Stub. You can help the Resonite Wiki by expanding it.


The GrabReferenceSet can be used to write a reference to a field on grab and release.

Usage

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.
Target SyncRef`1<T>
GrabbedTarget T
ReleasedTarget T
SetOnGrabbed Bool
SetOnReleased Bool

Behavior

While on the same slot as a Grabbable the component can be configured to set a reference on grabbed and on released.

Examples

See Also