Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (dashControl.isDashing)
- {
- if ((dashControl.dirOfDash == dashClass.dirOfDashEnum.EAST && Input.GetAxis("Horizontal") < -0.5f)
- || (dashControl.dirOfDash == dashClass.dirOfDashEnum.WEST && Input.GetAxis("Horizontal") > 0.5f))
- {
- StopCoroutine(dash());
- StartCoroutine(clearDash());
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment