Exemplo n.º 1
0
        private void UpdatePromoButton()
        {
            IPromoService promoService = Services.GetService <IPromoService>();

            //promoButton.interactable = promoService.IsAllowPromo();
            if (promoService.IsAllowPromo())
            {
                promoButton.Activate();
            }
            else
            {
                promoButton.Deactivate();
            }
        }