ドキュメント

Unity Engine

Unity Engine

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.