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

ToggleObjects

static class in ImmerseSDK.PlatformServices

Used to sync toggling of objects referenced between users.
The objects must be referenced in the scene component.

Static Methods
ApplyStates Attempt to apply all stored states to present objects
ApplyState Attempt to apply stored state to an object
ToggleObject Toggles the state of a passed in GameObject and sync for all users
SetObject Sets the state of the provided GameObject and syncs for all users