Automated: create new component page |
add info' |
||
Line 3: | Line 3: | ||
|Name=World Value Sync`1 | |Name=World Value Sync`1 | ||
}} | }} | ||
The '''WorldValueSync''' component is used to sync values from world space to user space. | |||
== | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|LocalValue|{{RootFieldType|RelayRef`1|[[Type:IField`1|IField`1]]<T>}}|TypeAdv0=true| | |LocalValue|{{RootFieldType|RelayRef`1|[[Type:IField`1|IField`1]]<T>}}|TypeAdv0=true| The value to sync. | ||
}} | }} | ||
== | == Usage == | ||
Not used directly by the user. | |||
== Examples == | == Examples == | ||
Used to keep user space visuals for [[World Orb]]s synced in position with world space visuals. | |||
== See Also == | == See Also == | ||
Line 19: | Line 21: | ||
[[Category:Components{{#translation:}}|World Value Sync`1]] | [[Category:Components{{#translation:}}|World Value Sync`1]] | ||
[[Category:Generic Components{{#translation:}}|World Value Sync`1]] | [[Category:Generic Components{{#translation:}}|World Value Sync`1]] | ||
Latest revision as of 00:55, 4 May 2025
Component image 
World Value Sync`1 component as seen in the Scene Inspector

The WorldValueSync component is used to sync values from world space to user space.
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. |
LocalValue
|
direct RelayRef`1<IField`1<T>> | The value to sync. |
Usage
Not used directly by the user.
Examples
Used to keep user space visuals for World Orbs synced in position with world space visuals.