void CommonStateLogic_WarpRest(StabilizationSettings restSettings, LogicState nextState) { if (AreStabilizationSettingsAchieved(restSettings)) { NextState = nextState; } }
bool AreStabilizationSettingsAchieved(StabilizationSettings stabilizationSettings) { return (FixedUpdateCountInState >= stabilizationSettings.MinFixedUpdates && LateUpdateCountInState >= stabilizationSettings.MinLateUpdates && StateAgeUT >= stabilizationSettings.MinUTPassed); }