Search Unity

compare variables between devices

Discussion in 'Multiplayer' started by kweiming, Oct 14, 2018.

  1. kweiming

    kweiming

    Joined:
    Jun 18, 2017
    Posts:
    12
    Hi all,
    I want to compare variables between clients at a given time or every frame.
    I will call command on clients and pass the variable to server. And on server, I will compare these variables from all clients.
    How to check that all values are received from server?
    thanks
     
  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,726
    Just send a ClientRpc from the server to the clients when all values are received.
     
unityunity