Welcome to Scribd!
Academic Documents
Professional Documents
Culture Documents
Hobbies & Crafts Documents
Personal Growth Documents
4
Collections;using UnityEngine;
if (!dash) body.velocity = new Vector2(horizontalInput * speed, body.velocity.y);
anim.SetTrigger("dash");