标签: unityscript
如何在unity c#
答案 0 :(得分:0)
将矢量从对象1转移到对象2
Vector3 dir = object2.transform.position - object1.transform.position;
dir.x,dir.y将是您之后的值