那是 Unity3D js 脚本错误,在 pc 上它工作正常,但如果我尝试将平台切换到 android...
var RelativeWaypointPosition : Vector3 = transform.InverseTransformPoint( Vector3(
waypoints[currentWaypoint].position.x,
transform.position.y,
waypoints[currentWaypoint].position.z ) );