Method |
Description |
|
DrawCircle ( Vector2 center, float radius, Color color ) : void |
|
|
DrawLine ( Vector2 lineStart, Vector2 lineEnd, Color color, int thickness = 1, bool antiAlias = false ) : void |
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 ( Rect rect, Color color, int thickness = 1 ) : void |
|
|
DrawText ( Vector2 pos, string text, Color color, int size = 12 ) : void |
|
|
Fill ( Rect rect, Color color ) : void |
矩形塗りつぶし |
|
RectAdjust ( Rect &rect ) : void |
Rectの最大値/最小値が逆転しないようにする |
|