> For the complete documentation index, see [llms.txt](https://abdys-organization.gitbook.io/2d-ultimate-side-scroller-character-controller/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://abdys-organization.gitbook.io/2d-ultimate-side-scroller-character-controller/content/player-data/dash-variables.md).

# Dash Variables

<figure><img src="https://1902847056-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiQ3kJNVa442SEEQpMHRM%2Fuploads%2FrVKJUj4YXE5KT1B6snJK%2FEkran%20g%C3%B6r%C3%BCnt%C3%BCs%C3%BC%202023-05-09%20165754.png?alt=media&amp;token=630b8054-5e02-47ac-8d17-508b6cb2a6e7" alt=""><figcaption></figcaption></figure>

The `DashVariables` class is responsible for managing the variables related to the dash mechanic in the game. It consists of several serialized fields, including `maxHeight`, `dashHeightCurve`, `dashYVelocityCurve`, `maxSpeed`, `dashXVelocityCurve`, `dashTime`, and `dashCooldown`. These fields allow you to customize various aspects of the dash, such as the maximum height and speed of the dash, the curves that control the height and velocity of the dash, and the time it takes to complete a dash and its cooldown duration.
