add some more info |
reword |
||
Line 1: | Line 1: | ||
The '''User''' type is a [[reference type]] underlying the concept of a [[user]]. This type stores all the fields and components interactable in the [[user inspector]], for example. | |||
This type is a direct reference to a user in a session and is non-persistent. If a user leaves and rejoins the session, fields of this type will be nulled out. For a more permanent reference to a user that persists across rejoins, the [[Type:UserRef|UserRef]] type is more suitable. | |||
[[Category:Type]] | [[Category:Type]] | ||
[[Category:Reference types]] |
Latest revision as of 03:44, 10 June 2025
The User type is a reference type underlying the concept of a user. This type stores all the fields and components interactable in the user inspector, for example.
This type is a direct reference to a user in a session and is non-persistent. If a user leaves and rejoins the session, fields of this type will be nulled out. For a more permanent reference to a user that persists across rejoins, the UserRef type is more suitable.