Beispiel #1
0
 public void LateUpdate()
 {
     if (ShouldSendStateSnapshots && (sendGameStatePeriodicFunction != null))
     {
         sendGameStatePeriodicFunction.TryToCall();
     }
 }
Beispiel #2
0
    private void Update()
    {
        sendUpdateAction.TryToCall();

        if (SentUpdate != null)
        {
            ReadUpdate();
        }
    }