Component:LocalVariableSync: Difference between revisions

From Resonite Wiki
add info
m UserspaceOnly
 
Line 1: Line 1:
{{UserspaceComponent}}
{{UserspaceOnlyComponent}}
{{Infobox Component
{{Infobox Component
|Image=LocalVariableSync`1Component.png
|Image=LocalVariableSync`1Component.png

Latest revision as of 18:52, 23 January 2026

This is a Userspace Only component — It cannot be attached anywhere but inside the userspace. Changing components in userspace is not recommended and may break functionality of your dashboard. Proceed with caution even if you know what you're doing.
Component image 
File:LocalVariableSync`1Component.png
Local Variable Sync`1 component as seen in the Scene Inspector

The LocalVariableSync component is used to store a value to the local dB for the user space and load it up again.

Fields

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.
OwnerUser direct UserRef The user that this variable is associated with in the world.
Value direct RelayRef`1<IField`1<T>> The value to Sync with the local DB variable.
Variable String The name of the local DB variable.

Usage

This article or section is a stub. You can help the Resonite wiki by expanding it.

Examples

See Also