public void TestBuy() { if (Money < CurrentItem.Preco) { _warningPopup.StartTween(0); WarningTMPro.text = failureMsg; } else { _confirmPopup.StartTween(0); } }
public void DisplayReceivedTickets(int ticketsAmount) { WarningTMPro.text = string.Format(popupMsg, ticketsAmount); canvasGroup.alpha = 1; canvasGroup.blocksRaycasts = true; canvasGroup.interactable = true; _warningPopup.StartTween(); }
void FadeInPopUp() { _action.RemoveAllListeners(); _action.AddListener(MissionFocus); _actionCarousel.RemoveAllListeners(); _actionCarousel.AddListener(FadeOutPopUp); _carousel.SetVisible(true); _carouselTween.StartTween(); }
public void ToggleVisible() { IsVisible = !IsVisible; Item = GenericShopController.Instance.CurrentItem; if (IsVisible) { _tweenEffect.StartTween(0); } else { _tweenEffect.RewindTween(0); } }
void ShowMentor() { _dialogTween.StartTween(); }