BoxCollider2D
class in UnityEngine · UnityEngine.Physics2DModule · inherits from Collider2D
Properties 3
bool autoTiling { get; set; }float edgeRadius { get; set; }Rounds the corners, growing the box outward by the radius.
Vector2 size { get; set; }