private void Dash() { AffectedByGravity(false); ResetHardLandingTimer(); if (dash_timer > DASH_TIME) { FinishedDashing(); return; } Vector2 vector = OrigDashVector(); vector = ModHooks.DashVelocityChange(vector); rb2d.velocity = vector; dash_timer += Time.deltaTime; }