public void LateUpdate() { if (ShouldSendStateSnapshots && (sendGameStatePeriodicFunction != null)) { sendGameStatePeriodicFunction.TryToCall(); } }
private void Update() { sendUpdateAction.TryToCall(); if (SentUpdate != null) { ReadUpdate(); } }