I have the following piece of code that am running on my Mac Pro with trail version of Unity 4. I am quite new to unity and game programming and maybe am missing something very obvious so any help is greatly appreciated.
function Update () {
Debug.Log("X=" + Input.GetAxis("Horizontal") + " Y=" + Input.GetAxis("Vertical"));
}
Both horizontal and vertical axis always return zero. Below, I have an image of my input manager.
Thanks!
![alt text][1]
[1]: /storage/temp/9016-screenshot_3_17_13_1_39_am-3.png
↧