bounds
The world space bounding area of the collider.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public Bounds bounds { get; }
Remarks
Note that this will be an empty bounding box if the collider is disabled or the game object is inactive.