文档

Unity Engine

Unity Engine

bounds

The world space bounding area of the collider.
阅读时间1 分钟最后更新于 1 天前

Definition

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.