protected override void OnStartShow() { clickAdTime = 0; CheckHasFree(); wheelRect.rotation = Quaternion.identity; RefreshTicketShowText(); closeDelay = StartCoroutine(ToolManager.DelaySecondShowNothanksOrClose(closeButton.gameObject)); }
protected override void OnStartShow() { continueAll.alpha = 1; continueAll.blocksRaycasts = true; gameoverAll.alpha = 0; gameoverAll.blocksRaycasts = false; clickAdTime = 0; nothanksDelay = StartCoroutine(ToolManager.DelaySecondShowNothanksOrClose(nothanksButton.gameObject)); }
protected override void OnStartShow() { clickAdTime = 0; isProp1 = GameManager.WillBuyProp == Reward.Prop1; needCoinNum = isProp1 ? GameManager.GetProp1NeedCoinNum() : GameManager.GetProp2NeedCoinNum(); icon.sprite = isProp1 ? prop1icon : prop2icon; coinBuyButton.gameObject.SetActive(false); adBuyButton.gameObject.SetActive(true); closeDelay = StartCoroutine(ToolManager.DelaySecondShowNothanksOrClose(closeButton.gameObject)); }
protected override void OnStartShow() { clickAdTime = 0; needAd = GameManager.GetHasGetFreeGift(); nothanksButton.gameObject.SetActive(needAd); adIcon.SetActive(needAd); closeButton.gameObject.SetActive(needAd); redeemTip.SetActive(GameManager.GetIsPackB()); openContentRect.localPosition = needAd ? new Vector3(41.5f, 3.1f, 0) : new Vector3(0, 3.1f, 0); if (needAd) { nothanksDelay = StartCoroutine(ToolManager.DelaySecondShowNothanksOrClose(nothanksButton.gameObject)); closeDelay = StartCoroutine(ToolManager.DelaySecondShowNothanksOrClose(closeButton.gameObject)); } }
protected override void OnStartShow() { clickAdTime = 0; type = GameManager.ConfirmReward_Type; num = GameManager.ConfirmRewrad_Num; needAd = GameManager.ConfirmReward_Needad; rewardIcon.sprite = SpriteManager.Instance.GetSprite(SpriteAtlas_Name.RewardNoCash, type.ToString()); rewardNum.text = "x" + num; adicon.SetActive(needAd); nothanksButton.gameObject.SetActive(needAd); adContentRect.localPosition = needAd ? new Vector3(49.3f, 5.7f, 0) : new Vector3(0, 5.7f, 0); if (needAd) { nothanksDelay = StartCoroutine(ToolManager.DelaySecondShowNothanksOrClose(nothanksButton.gameObject)); } }
protected override void OnStartShow() { base.OnStartShow(); ResetSlotsReward(); if (GameManager.nextSlotsIsUpgradeSlots) { needAd = false; adIcon.SetActive(false); spinContentRect.localPosition = noadSpincontentPos; } else { needAd = true; adIcon.SetActive(true); spinContentRect.localPosition = adSpincontentPos; } closeDelay = StartCoroutine(ToolManager.DelaySecondShowNothanksOrClose(closeButton.gameObject)); }
protected override void OnStartShow() { clickAdTime = 0; if (GameManager.ConfirmReward_Type != Reward.Cash) { Debug.LogError("奖励类型错误"); return; } bool isPackB = GameManager.GetIsPackB(); cashIcon.sprite = SpriteManager.Instance.GetSprite(SpriteAtlas_Name.RewardCash, "manycash" + (isPackB ? "B" : "A")); needAd = GameManager.ConfirmReward_Needad; rewardNum = GameManager.ConfirmRewrad_Num; rewardNumText.text = (isPackB ? "$" : "") + ToolManager.GetCashShowString(rewardNum); reedemTip.SetActive(isPackB); remainingTimes.text = "Remaining:" + GameManager.ReduceTodayCanGetCashTime(); closeButton.gameObject.SetActive(needAd); adicon.SetActive(needAd); getContentRect.localPosition = needAd ? new Vector3(54.5f, 6, 0) : new Vector3(0, 6, 0); if (needAd) { closeDelay = StartCoroutine(ToolManager.DelaySecondShowNothanksOrClose(closeButton.gameObject)); } }
protected override void OnStartShow() { soundSwitch.IsOn = GameManager.GetSoundOn(); musicSwitch.IsOn = GameManager.GetMusicOn(); closeDelay = StartCoroutine(ToolManager.DelaySecondShowNothanksOrClose(closeButton.gameObject)); }
protected override void OnStartShow() { closeDelay = StartCoroutine(ToolManager.DelaySecondShowNothanksOrClose(closeButton.gameObject)); }