Пример #1
0
 public static void DrawCircle(Vector3 position, float radius, Color?color = null, float time = 0, int?segments = null)
 {
     if (instance == null)
     {
         return;
     }
     instance.AddCircle(position, radius, color, time, segments);
 }
Пример #2
0
 public static void DrawCircle(Vector3 position, float radius, Color?color = null)
 {
     if (instance == null)
     {
         return;
     }
     color = color ?? Color.white;
     instance.AddCircle(position, radius, color);
 }