- Home /
Question by
Myggski · Dec 06, 2017 at 10:57 AM ·
networkinginstantiatetilemap
Tilemap.SetTile sync to clients on server? NetworkServer.Spawn?
Hey guys!
I'm working on a small networking game and I've started to experimenting with the new TIlemap and changing tiles on runtime. I've a BoardManager that random generates a playground with floor and walls, and was just wondering if there's a way to sync it to the server.
Before the Tilemap I instantiated every block and used NetworkServer.Spawn to sync it to the clients. Do I need to create a ClientRpc method that's called each time a tile is changing/generated to sync with every client that's connected? and a Command method to ask the server for syncing with new players that's connected?
Comment