Automated: update Fields, Categories |
add info |
||
Line 2: | Line 2: | ||
<translate> | <translate> | ||
<!--T:1--> | <!--T:1--> | ||
{{Infobox Component | {{Infobox Component | ||
|Image=UserInfoComponent.png | |Image=UserInfoComponent.png | ||
|Name= | |Name=User Info | ||
}} | }} | ||
The '''UserInfo''' component handles keeping certain bits of data about a player spawned physically in the world. It's stored under the user root slot. | |||
<!--T:3--> | <!--T:3--> | ||
== | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|Controllers|{{RootFieldType|SyncRefList`1|[[Type:Slot|Slot]]}}|TypeAdv0=true| | |Controllers|{{RootFieldType|SyncRefList`1|[[Type:Slot|Slot]]}}|TypeAdv0=true| The slots of the controllers this user is using. | ||
|Hands|{{RootFieldType|SyncRefList`1|[[Type:Slot|Slot]]}}|TypeAdv1=true| | |Hands|{{RootFieldType|SyncRefList`1|[[Type:Slot|Slot]]}}|TypeAdv1=true| The slots of the hands this user. | ||
}} | }} | ||
<!--T:4--> | <!--T:4--> | ||
== | == Usage == | ||
Used internally. | |||
<!--T:5--> | <!--T:5--> | ||
== Examples == | == Examples == | ||
Seen in the root of a user root of a player. | |||
<!--T:6--> | <!--T:6--> | ||
== | == See Also == | ||
* [[Component:UserRoot]] | |||
</translate> | </translate> | ||
[[Category:Components{{#translation:}}|User Info]] | [[Category:Components{{#translation:}}|User Info]] | ||
[[Category:Components:Users{{#translation:}}|User Info]] | [[Category:Components:Users{{#translation:}}|User Info]] |
Latest revision as of 17:35, 6 February 2025
Component image 
User Info component as seen in the Scene Inspector

The UserInfo component handles keeping certain bits of data about a player spawned physically in the world. It's stored under the user root slot.
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. Some components stop their functionality when this field is disabled, but some don't. |
Controllers
|
list of Slot | The slots of the controllers this user is using. |
Hands
|
list of Slot | The slots of the hands this user. |
Usage
Used internally.
Examples
Seen in the root of a user root of a player.