📌  相关文章
📜  获取游戏对象的大小 - 无论代码示例

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

代码示例1
//Most common
transform.localScale
//People say this works
//Actual size of mesh , scaled to localScale
objectSize = Vector3.Scale(transform.localScale, GetComponent().mesh.bounds.size);