> 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.md).

# Player Data

The `PlayerData` class is a crucial part of the 2D platformer-sidescroller controller asset. It stores all the necessary variables and data related to the player's actions and states. By encapsulating these variables in separate classes, the `PlayerData` class ensures that the project remains organized and maintainable. The class is divided into several sub-classes, each responsible for storing variables related to specific player actions or states:

1. PhysicsVariables
2. WalkVariables
3. CrouchVariables
4. JumpVariables
5. LandVariables
6. DashVariables
7. WallMovementVariables
