Hi… now im very very hard.
i use asset:network lobby. when the client join the room and when those players ready go to the next scene(play scene). But problem is now.
in the host-client, i want only host(server) can control on the scene and client cant control so client only watch what host do. But when i run it, always host and client’s scenes are separately. I mean host can control and client also can control but they are not same screen(not synchronization).
my code is like this
public class Multi : NetworkBehavior{
//some variables
void start(){
//get some informations
}
void update(){
if (!isLocalPlayer){
return;
}
//use functions
}
[Server]
functions
i also used [Command], [ClientRpc] instead of [Server] but ofcourse, it never works…
i searched many docs, forums, youtube but never solve this problem… please help me.