Component:AvatarNodeAssigner

From Resonite Wiki
Revision as of 16:30, 20 December 2024 by 989onan (talk | contribs) (add info)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Component image 
AvatarNodeAssigner component as seen in the Scene Inspector

The AvatarNodeAssigner component only functions on an avatar being equipped or de-equipped by a user. When equipped, the component finds the first Component:AvatarObjectSlot with a body node value that equals Node. if found, it assigns all slot storage fields in Targets to the slot the Component:AvatarObjectSlot is on. When de-equipped, all slot storage fields in Targets have their stored slot cleared.

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.
Node BodyNode The body node to search for when the avatar this is on is equipped.
Targets list of SyncRef`1<Slot> The slot storage fields to fill when an Component:AvatarObjectSlot of node type Node is found.

Usage

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


Examples

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


See Also