标签:
float h = Input.GetAxis("Horizontal") ;//h range from -1 to 1
float v = Input.GetAxis("Vertical") ;//v range from -1 to 1
float h = Input.GetAxisRaw("Horizontal") ;//h is -1, 0, or 1
float v = Input.GetAxisRaw("Vertical") ;//v is -1, 0, or 1
unity Input.GetAxis和Input.GetAxisRaw
标签:
原文地址:http://www.cnblogs.com/wantnon/p/4376230.html