Exemplo n.º 1
0
    static public bool freePath(ArrayList list)
    {
        bool free = true;

        for (int i = 0; i < list.Count - 1 && free; i++)
        {
            if (!DirectionUtility.freePath((Vector3)list[i], (Vector3)list[i + 1]))
            {
                free = false;
            }
        }
        return(free);
    }
Exemplo n.º 2
0
 private bool free(ArrayList list)
 {
     return(DirectionUtility.freePath(list, transform.localScale.x / 3));
 }
Exemplo n.º 3
0
 private bool free(ArrayList list)
 {
     return(DirectionUtility.freePath(list));
 }