Aar0n 2d坐标 比3d 坐标 少了一个 坐标轴,默认是0 , 你可以自己实现, vector3 的前两个参数 填上 2d坐标的 x y ,z 用0 ,就变成3d 坐标了,具体如何转换轴看你的需求了