Component:AvatarSlotEquippedToggle

From Resonite Wiki
This page contains changes which are not marked for translation.


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


Component image 
AvatarSlotEquippedToggle component as seen in the Scene Inspector

The AvatarSlotEquippedToggle component drives one or two booleans to a state depending on if an Component:AvatarObjectSlot is equipped or not.

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.
ObjectSlot direct RelayRef`1<AvatarObjectSlot> The Avatar Object Slot to monitor for equipping status.
EquippedDrive field drive of Bool Drives the target bool to true when ObjectSlot is equipped. Otherwise false.
DequippedDrive field drive of Bool Drives the target bool to false when ObjectSlot is equipped. Otherwise true.

Usage

Examples

See Also