Adventure Creator
1.79.1
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2022
|
Static Public Member Functions | |
static void | Draw (Vector2 pointA, Vector2 pointB, Color color, float width, bool antiAlias) |
Draws a line between two points. More... | |
static void | DrawBox (Rect rect, Color color, float width, bool antiAlias, int offset) |
A class that provides line-drawing functions.
|
static |
Draws a line between two points.
pointA | The location of the first point |
pointB | The location of the second point |
color | The colour of the line |
width | The width of the line |
antiAlias | True if the line should be anti-aliased |
|
static |
Draws a box around a rectangle.
rect | The Rect to draw around |
color | The colour of the line |
width | The width of the line |
antiAlias | True if the line should be anti-aliased |
offset | The distance between the line and the rectangle |