Метод | Описание | |
---|---|---|
DrawCircle ( |
||
DrawLine ( |
http://forum.unity3d.com/threads/17066-How-to-draw-a-GUI-2D-quot-line-quot?p=407005&viewfull=1#post407005 →処理ちょっと重かったので、yoyo氏のに変更 http://forum.unity3d.com/threads/71979-Drawing-lines-in-the-editor
|
|
DrawRect ( |
|
|
DrawText ( |
||
Fill ( |
矩形塗りつぶし
|
|
RectAdjust ( |
Rectの最大値/最小値が逆転しないようにする
|
Метод | Описание | |
---|---|---|
GUIHelper ( ) : System.Collections | ||
Initialize ( ) : void |
public static DrawCircle ( |
||
center | ||
radius | float | |
color | ||
Результат | void |
public static DrawLine ( |
||
lineStart | ||
lineEnd | ||
color | ||
thickness | int | |
antiAlias | bool | |
Результат | void |
public static DrawRect ( |
||
rect | ||
color | ||
thickness | int | |
Результат | void |
public static DrawText ( |
||
pos | ||
text | string | |
color | ||
size | int | |
Результат | void |
public static Fill ( |
||
rect | ||
color | ||
Результат | void |
public static RectAdjust ( |
||
rect | ||
Результат | void |