private void LateUpdate() { Manager m = m_Manager; float deltaTime = Time.deltaTime; if (m != null) { m.Update(deltaTime, RoutinePhase.LateUpdate); if (m.Fibers.GetYieldCount(YieldPhase.WaitForLateUpdate) > 0) { m.UpdateYield(deltaTime, YieldPhase.WaitForLateUpdate); } } }
private void LateUpdate() { Manager m = m_Manager; float deltaTime = Time.deltaTime; if (m != null) { // lateupdate m.Update(deltaTime, RoutinePhase.LateUpdate); if (m.Fibers.GetYieldCount(YieldPhase.WaitForLateUpdate) > 0) { m.UpdateYield(deltaTime, YieldPhase.WaitForLateUpdate); } if (m_LastKnownVsync) { m_Manager.UpdateAsync(1); } } }