2D Ultimate Side Scroller Character Controller
  • Introduction
    • Purpose
    • Overview
  • 🛠️Setup
    • Quick Setup
    • Detailed Setup
  • Content
    • Utilities
      • Custom Attributes
      • Extensions
    • Input System
    • Physics
    • Layers
    • Player Data
      • Physics Variables
      • Walk Variables
      • Crouch Variables
      • Jump Variables
      • Land Variables
      • Dash Variables
      • Wall Movement Variables
  • ⛑️Help
    • FAQ
    • Adding States
    • Removing States
  • Development
    • Features - V1.0
    • Roadmap
  • 📪Contact Me
    • Contact Me
Powered by GitBook
On this page
  1. Content
  2. Player Data

Dash Variables

PreviousLand VariablesNextWall Movement Variables

Last updated 2 years ago

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.