mark the first user that joins as the room owner
how do i mark the first user that joins as a room owner
Realtime.Instantiate(), you can set the field to true. This ensures the on the root of the prefab is owned by the local client when instantiated.clientID from the instance in NormalVR. The clientID is a property of the class and it represents the local clientID of the instance.RealtimeViewRealtimeViewRealtimeViewRealtimeViewRealtimeViewRealtimeViewownedByClientRealtimeRealtimeRealtimeRealtimerealtimeInstanceGameObject myObject = Realtime.Instantiate("My Object", ownedByClient: true);int clientID = realtimeInstance.clientID;