Question by
Rabur · Mar 23, 2016 at 03:04 PM ·
networkingmultiplayer
Multiplayer Random Generated Maze
Hello, I've made a game in which you need to run through random generated maze, and I want to implement multiplayer. There're 2 scenes, first is Menu when you connect to server etc, and the 2nd one is a game, in which in Awake() the maze is generated.
And there's a question, how to send the maze to the client so both of players had the same maze?
Comment
Use a [ClientRpc] function to send your randomized variables (that you base the map on) from the server to all clients.
Your answer
Follow this Question
Related Questions
Simple Question: Is the Unity 5.4+ "NetworkLobbyManager" bugged? 0 Answers
Using syncVar in networkManager 1 Answer
Unity Network Spawning Prefabs 0 Answers
Unity Photon Player Instantiation 1 Answer
Unity Networking: Loading Screen 0 Answers