Component:GrabValueSet

From Resonite Wiki
Component image 
Grab Value Set`1 component as seen in the Scene Inspector

The GrabValueSet component has options to set the value within a value field upon release and/or grabbing of a grabbable Component on the same slot.

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.
Target IField`1<T> The field to set the contained value of during grabbing events.
GrabbedValue T The value to set the contained data of the Field referenced in Target when the item is grabbed.
ReleasedValue T The value to set the contained data of the Field referenced in Target when the item is let go of.
SetOnGrabbed Bool Whether to set the contained value of the field referenced by Target on grabbed.
SetOnReleased Bool Whether to set the contained value of the field referenced by Target on letting go.

Usage

Can be used to change the color of an item on grab or release, or any other value type.

Examples

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

See Also