Commit bdef85c4 authored by 16도재형's avatar 16도재형 Committed by 18류지석

류지석 개새1기

parent 2b006a73
......@@ -68,7 +68,7 @@ public class PlayerController : MonoBehaviour
horizontal = Input.GetAxis("Horizontal");
horizontalRaw = Input.GetAxisRaw("Horizontal");
verticalRaw = Input.GetAxisRaw("Vertical");
dash = Input.GetButton("Dash");
if (isGrounded) dash = Input.GetButton("Dash");
if (!upKeyDown) upKeyDown = previous <= 0 && verticalRaw > 0;
if (!downKeyDown) downKeyDown = previous >= 0 && verticalRaw < 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment