Immerse SDK
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

UISync

class in ImmerseSDK.PlatformServices / Inherits from MonoBehaviour

A component that synchronizes the current state of various UI elements for all users.

Fields
AutoSend Automatically send updates when a value is changed
Dropdowns Dropdown components to synchronize
InputFields Text input fields
Sliders Slider components to synchronize
Toggles Toggle components to synchronize
Methods
SendUpdate Send an update of the current component.
Intended for when auto send is disabled.
GetPayloadLength Get the required payload length for the component.
WritePayload Write the UI Sync payload to the supplied buffer.