Метод | Описание | |
---|---|---|
GetBottomCenter ( |
Gets the position of the center of the bottom edge of the rectangle.
|
|
GetIntersectionDepth ( |
Calculates the signed depth of intersection between two rectangles.
|
Метод | Описание | |
---|---|---|
RectangleExtensions ( ) : System |
public static GetBottomCenter ( |
||
rect | ||
Результат | Vector2 |
public static GetIntersectionDepth ( |
||
rectA | ||
rectB | ||
Результат | Vector2 |