在接球游戏中,如果移动鼠标控制木盆左右上下移动,move.js脚本如下: #pragma strict function Start () { } function Update () { transform.position.x=(Input.mousePosition.x-Screen.width/8)/(Screen.width/8); transform.position.y=(Input.mousePosition.y-Screen.width/4)/(Screen.width/4); }