Esempio n. 1
0
 void UpdateCircle(Vector2 position)
 {
     if (circle != null)
     {
         Destroy(circle);
     }
     if (!showCircle)
     {
         return;
     }
     circle = map.AddCircle(position, circleRadius, circleRingStart, circleRingEnd, circleColor);
 }