Join to room with save proggress
Options
How can you do that the player is running around the scene - map_1 , and at the same time searching for the room with the same scene - map_1 with other players. And when he finds it, he joins it with his progress saved
For the player, other players just suddenly appear.
For the player, other players just suddenly appear.
0
Answers
-
My decision:
On joined to room destroy "Player" and create new one with same positionGameObject player; public override void OnJoinedRoom() { GameObject go = PhotonNetwork.Instantiate("player", player.transform.position, player.transform.rotation); Destroy(player); player = go; }
0