Пример #1
0
 static void NetworkEarlyUpdate()
 {
     //Debug.Log($"NetworkEarlyUpdate {Time.time}");
     NetworkServer.NetworkEarlyUpdate();
     NetworkClient.NetworkEarlyUpdate();
     // invoke event after mirror has done it's early updating.
     OnEarlyUpdate?.Invoke();
 }
 static void NetworkEarlyUpdate()
 {
     //Debug.Log("NetworkEarlyUpdate @ " + Time.time);
     NetworkServer.NetworkEarlyUpdate();
     NetworkClient.NetworkEarlyUpdate();
 }