Свойство | Тип | Описание | |
---|---|---|---|
Radius | float |
Метод | Описание | |
---|---|---|
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 | |
Результат | System |
public IntersectsLine ( Vector2 start, Vector2 end, float lineWidth ) : bool | ||
start | Vector2 | |
end | Vector2 | |
lineWidth | float | |
Результат | bool |
public IntersectsPoint ( Vector2 point ) : bool | ||
point | Vector2 | |
Результат | bool |