TextureDraw
Public Functions
Name | |
---|---|
void | SetTarget(Texture2D texture) |
void | Clear() |
void | DrawCross(Vector2 pos, int length, Color32 color) |
void | DrawCross(Vector2Int pos, int length, Color32 color) |
void | DrawHorizontalLine(Vector2 pos, int length, Color32 c) |
void | DrawVerticalLine(Vector2Int pos, int length, Color32 c) |
void | DrawLine(Vector2 start, Vector2 end, Color32 color) |
Public Functions Documentation
function SetTarget
static void SetTarget(
Texture2D texture
)
function Clear
static void Clear()
function DrawCross
static void DrawCross(
Vector2 pos,
int length,
Color32 color
)
function DrawCross
static void DrawCross(
Vector2Int pos,
int length,
Color32 color
)
function DrawHorizontalLine
static void DrawHorizontalLine(
Vector2 pos,
int length,
Color32 c
)
function DrawVerticalLine
static void DrawVerticalLine(
Vector2Int pos,
int length,
Color32 c
)
function DrawLine
static void DrawLine(
Vector2 start,
Vector2 end,
Color32 color
)