Wednesday, August 21, 2019

UNITY jOYSTICK to keyboad

find on chaacter void update then add this code should work

Vector3 input = Vector3.zero;
            //input += new Vector3(Input.GetAxisRaw("Horizontal"), 0, 0);
            input += new Vector3(0, Input.GetAxisRaw("Vertical"), 0);

No comments:

Post a Comment