private void SendAfterFixedUpdateEventIfNeed() { if (this.sendAfterFixedUpdateEvent) { InternalPreciseTime.AfterFixedUpdate(); Flow flow = EngineServiceInternal.GetFlow(); Invoke(); this.sendAfterFixedUpdateEvent = false; } }
private void Update() { this.SendAfterFixedUpdateEventIfNeed(); InternalPreciseTime.Update(Time.deltaTime); }
private void FixedUpdate() { this.SendAfterFixedUpdateEventIfNeed(); InternalPreciseTime.FixedUpdate(Time.fixedDeltaTime); this.sendAfterFixedUpdateEvent = true; }