enter image description hereI'm using mirror for local server between multiply gamePlayers. I have a problem sync non players objects. I want each Player to have a button to be able to rool two dices and that the player on host will be able to see what client do and apposite. I'm still confused , don't know when to use [Command] and [ClientRpc] btw, I create my dices like that, and called this on the method OnStartServer():
GameObject newPrize = Instantiate(prizePrefab.gameObject, spawnPosition, Quaternion.identity); // add this game object to all clients NetworkServer.Spawn(newPrize);
Thank you so much!