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
AvatarDestroyOnDequip component as seen in the Scene Inspector
The AvatarDestroyOnDequip component destroys DestroyRoot when the avatar it's in the hierarchy of is unequipped, or the slot the component is attached to if DestroyRoot is null.
The slot to destroy when the avatar this component is a part of is dequipped, or null to destroy the slot this component is attached to.
Usage
Attach to a part of an Avatar's hierarchy and then provide a slot to DestroyRoot (or keep it null to destroy the slot this component is on). When the parent avatar is dequipped, the target slot will be destroyed.
Examples
Can be used to remove slots that are generated when a user enters an avatar, but need to be destroyed when they leave said avatar. or it can destroy a slot outside the avatar, which could be used in puzzles or world systems.