/** * Reset variables related to time warp. */ public void ResetTimeWarp() { gameManager.SetTimeWarpEnabled(false); soundManager.SetHighPassFilterEnabled(false); timeWarpAvailable = true; timeWarpCounter = 0f; timeWarpCooldownCounter = 0f; rippleCameraEffect.StopAllEffects(); levelStats.StopTimeWarpGaugeAnimation(); }