Ejemplo n.º 1
0
 void ation()
 {
     for (int i = 0, len = Points.Count; i < len; i++)
     {
         Points[i].rectTransform.anchoredPosition = Statics.GetCirclePoint(Vector2.zero, 40, direction * angles[i]);
         angles[i] += Speed;
         if (angles[i] >= 360)
         {
             angles[i] = 0;
         }
     }
 }