private IEnumerator animatePoint(AbstractPoint point, Vector3 lineDir)
 {
     while (true)
     {
         point.Position3 += lineDir * Time.smoothDeltaTime * 2f;
         point.AddToRManager();
         yield return(new WaitForEndOfFrame());
     }
 }
Ejemplo n.º 2
0
 private IEnumerator animatePoint(AbstractPoint point)
 {
     while (true)
     {
         Vector3 lineDir = line1.normalDir.normalized;
         if (!followLineDirection)
         {
             lineDir = -lineDir;
         }
         point.Position3 += lineDir * Time.smoothDeltaTime * 2f;
         point.AddToRManager();
         yield return(new WaitForEndOfFrame());
     }
 }