Пример #1
0
 public static void DebugPath(List <Vector3> path)
 {
     for (int i = 1; i < path.Count; i++)
     {
         Vector3 prev = path[i - 1];
         Vector3 pos  = path [i];
         DebugFn.arrow(prev, pos);
     }
 }
Пример #2
0
 public static void arrows(List <Vector3> vectors)
 {
     for (int i = 1; i < vectors.Count; i++)
     {
         Vector3 prev = vectors[i - 1];
         Vector3 curr = vectors[i];
         DebugFn.arrow(prev, curr);
     }
 }
Пример #3
0
    public static void DebugPath(List <Pos> path)
    {
        Pos prev = null;

        foreach (Pos pos in path)
        {
            if (prev != null)
            {
                DebugFn.arrow(prev, pos);
            }
            prev = pos;
        }
    }