Ejemplo n.º 1
0
    public override bool IsTarget(Tile tile)
    {
        if (tile == null || tile.content == null)
        {
            return(false);
        }

        Alliances other = tile.content.GetComponentInChildren <Unit>().alliance;

        return(other == alliance.GetOpposing());
    }