Component:AvatarUserReferenceAssigner: Difference between revisions

From Resonite Wiki
Automated: update Fields, Categories
Updated link.
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:


<!--T:2-->
<!--T:2-->
== Intoduction ==
The '''AvatarUserReferenceAssigner''' component is used to assign the [[User|user]] reference to a list of targets (depending on the <code>AssignMode</code>). This component activates only when in the [[Slot|slot]] hierarchy of an [[Avatar]] and when a user equips it.


<!--T:3-->
<!--T:3-->
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|AssignMode|'''[[#Mode|Mode]]'''|TypeAdv0=true|
|AssignMode|'''[[#Mode|Mode]]'''|TypeAdv0=true|
Line 19: Line 18:


<!--T:4-->
<!--T:4-->
== Behavior ==
== Usage ==
This is often used with assigning the [[User|user]] reference to [[Nameplate#User_Referencing|nameplates]], and the components within.


<!--T:5-->
<!--T:5-->

Latest revision as of 03:54, 19 August 2024


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


Component image 
AvatarUserReferenceAssigner component as seen in the Scene Inspector


The AvatarUserReferenceAssigner component is used to assign the user reference to a list of targets (depending on the AssignMode). This component activates only when in the slot hierarchy of an Avatar and when a user equips it.

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.
AssignMode Mode
References list of SyncRef`1<User>

Usage

This is often used with assigning the user reference to nameplates, and the components within.

Examples

Related Components