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

ToggleObjectExtensions.SetActiveSync

public static bool SetActiveSync(GameObject gameObject, bool enabled)

Set the state of the provided GameObject for all users

Parameter Description
gameObject The object to set
enabled New status