0
How to get c# to know a user pressed a key?
Im doing a" if input () " for a game im coding on unity (visaul studios: c#) and need help know what to put there so that it would know when someone presses that key?
2 ответов
0
The if statement would do it.
I.E." if (Input.GetKey("w"))
{
pos.y += jump * Time.deltaTime;
} "
Some Unity tutorials would also help you get started
https://unity.com/learn
0
Thank you i see what i did wrong now i was using GetKey but the period. Thanks.