Exemplo n.º 1
0
    void SetTarget(int row, int column)
    {
        GameObject obj = grid.GetPixel(row, column);

        if (obj != null)
        {
            targetPixel.transform.position = obj.transform.position;
        }
    }