Exemplo n.º 1
0
    public void Greedy(int startX, int startY, int endX, int endY)
    {
        ClearPath();
        Greedy g = GameObject.Instantiate(greedy, Vector3.zero, Quaternion.identity).GetComponent <Greedy>();

        g.StartGreed(startX, startY, endX, endY);
    }