Question by
Zewde · Dec 25, 2015 at 09:34 PM ·
multiplayergoogle playrealtime
Generating the same level for 2 players on RealTime multiplayer
-does anyone know an integer that 2 players in the same room share? I really need one in order to have the same Random.seed and generate the same random level for 2 players.
I have a dilemma with google play services plugin, I have a method which generates a random level out of a prefab. I called this function under onRoomConnected(); the issue is that this generates random levels (which is good) but both players have 2 different random levels (which is not good). Does anyone know a way to generate the same random level for 2 players over real time multiplayer ?
-does anyone know a way to get the same Random.seed for 2 players? Is there like a int that a -Google play services shares for all the players in the "room"?
Thank you!
Comment