摘要: #pragma strictvar smooth=2.0;var tiltAngle=30.0;function Start () {}function Update () { transform.position.x=(Input.mousePosition.x-Screen.width/2)/(Screen.width/2); transform.position.z=(Input.mousePosition.y-Screen.height/2)/(Screen.height/2); Debug.Log(transform.position.x); var tiltAroundZ=Inpu 阅读全文
posted @ 2013-08-28 16:54 yufenghou 阅读(499) 评论(0) 推荐(0)