Свойство | Type | Description | |
---|---|---|---|
Radius | float |
Méthode | Description | |
---|---|---|
CircleCollider ( float radius, Vector2 offset ) : System | ||
GetCenter ( ) : Vector2 | ||
GetCenterX ( ) : float | ||
GetCenterY ( ) : float | ||
IntersectsLine ( Vector2 start, Vector2 end, float lineWidth ) : bool | ||
IntersectsPoint ( Vector2 point ) : bool | ||
Type ( ) : Collider.ColliderType |
public CircleCollider ( float radius, Vector2 offset ) : System | ||
radius | float | |
offset | Vector2 | |
Résultat | System |
public IntersectsLine ( Vector2 start, Vector2 end, float lineWidth ) : bool | ||
start | Vector2 | |
end | Vector2 | |
lineWidth | float | |
Résultat | bool |
public IntersectsPoint ( Vector2 point ) : bool | ||
point | Vector2 | |
Résultat | bool |