/** * Resets variables associated with dash ability. */ public void ResetDash() { dashCounter = 0; dashCooldownCounter = 0; numDashes = 2; dashing = false; levelStats.ResetDashGaugeAnimation(); if (cameraParticleSystem) { cameraParticleSystem.Stop(); } }