Exemple #1
0
    public void OnTap()
    {
        if (!action.CanDo())
        {
            if (!CanAfford())
            {
                HighlightCost();
            }
        }

        else
        {
            ActionManager.Instance.SelectAction(action);
        }
    }