📜  如何获得物体边缘的世界位置? - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:16.509000             🧑  作者: Mango

代码示例1
Vector3 offset = transform.up * (transform.localScale.y / 2f) * -1f; 
Vector3 pos = transform.position + offset; //This is the position