void OnTriggerEnter2D(Collider2D other) { if (other.gameObject.layer == 9) { touchingGround = true; xinput.BurstVib(0.2f, 0.4f * yVel); } }
void OnTriggerEnter2D(Collider2D other) { if (other.gameObject.layer == 9) { touchingGround = true; xinput.BurstVib(0.2f, 0.4f * yVel); } }