EquipAttachment
Method
Equip an attachment to the avatar (Defined by the SpatialAvatarAttachment
component)
Parameters
Parameter | Description |
---|---|
AssetType assetType | Which asset type to play this from. For |
string assetID | ID of the asset:
|
bool equip | Should it be equipped or not |
bool clearOccupiedPrimarySlot | When equipping, should any conflicting primary slot be cleared, or should this equip additively on top of the
existing attachments? Used when |
string optionalTag | A string tag that can be used to reference some attachments. Used by |