private void Start() { rb = GetComponent <Rigidbody2D>(); coll = GetComponent <Collider2D>(); anim = GetComponent <Animator>(); currentHealth = maxHealth; currentSpeed = moveSpeed; powerBar.SetMaxPower(maxHealth); powerBar.SetPower(currentHealth); canDoubleJump = true; canDash = true; isDashing = false; }