unity判断其它物体相对于自身方位以及角度

[csharp] view plain copy //求角度 及前后左右方位 public void checkTargetDirForMe(Transform target) { //xuqiTest: target.position = new Vector3(3, 0, 5); Vector3 dir = target.position - transfor
相关文章
相关标签/搜索