var center : Vector3
Description描述
The center of the box, measured in the object's local space.
盒碰撞器的中心点,相对于物体的自身坐标。
还没有添加代码
// Reset the center to the transform's position //重设中心到变换位置 collider.center = Vector3.zero;