摘要:
方案一:speedpublic var simulateAccelerometer:boolean = false;var speed = 10.0;function Update () { var dir : Vector3 = Vector3.zero; if (simulateAccelerometer) { dir.x = Input.GetAxis("Horizontal"); dir.y = Input.GetAxis("Vertical"); } else { dir.x = Input.acceleration.x; dir.y = In 阅读全文
posted @ 2010-09-24 16:00
子非あ鱼
阅读(2981)
评论(0)
推荐(0)

浙公网安备 33010602011771号