Пример #1
0
 public static void DrawSquare(Rect rect, Color color, float duration)
 {
     EG_GL.DrawRect(rect, color, duration, true);
 }
Пример #2
0
 public static void DrawText(string text, Color color, float duration)
 {
     EG_GL.DrawText(text, color, duration);
 }
Пример #3
0
 public static void DrawCircle(Vector2 center, float radius, Color color, float duration)
 {
     EG_GL.DrawCircle(center, radius, color, duration, false);
 }
Пример #4
0
 public static void DrawRect(Vector2 center, Vector2 size, Color color, float duration)
 {
     EG_GL.DrawRect(new Rect(center - size / 2, size), color, duration, false);
 }