public void TryDoDash() { if (!IsDashing && DashCooldown <= 0 && rb2d.velocity.sqrMagnitude > 0.1) { IsDashing = true; lockable.LockMovement(); dashTime = startDashTime; } }