CircleCollider2D
Collider for 2D physics representing an circle.
Read time 9 minutesLast updated 2 days ago
Definition
- Type: Class
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
- Inherits from: Collider2D
public sealed class CircleCollider2D : Collider2D
Remarks
Additional Resources: BoxCollider class, PolygonCollider2D class.
Properties
Property | Description |
|---|---|
| radius | Radius of the circle. |
Inheritance
Inherited Members
Operators
Operator | Description |
|---|---|
| operator == | Compares two object references to see if they refer to the same object. |
| bool | Determines whether the object exists. |
| operator != | Compares if two objects refer to a different object. |