Hey everyone.
I recently read about Unity Gaming Services and Netcode for GameObjects.
In my game, I want to implement a design that once the player authenticates, they will be in their personal room Scene (They can design their own room using the game’s network prefabs).
Then, when they matchmaking with other player. They will bring their entire room to a new scene, which is combines a 2-player room.
I have some question (just because needing your help to implement it right):
- I set all
NetworkObject
of player’s room is (destroyWithScene == false
) then move them to new scene (CallCombine2PlayerRoom
). In theory, this will work, right? - Second Approach: I spawn all player room objects after matching. Because I have 2 player room, so It’s stupid to position and rotating them correctly.
Bonus: I just want after matchmaking the other player (their room too) appear in front of own player. So, I think something about a curtain will go up when don’t matchmaking and spawning other player. Want to do that, I can implement without changing scene, right ?
Thanks!