public virtual void HandleHide() { GameCommunity.HideActionAppRate(); GameCommunity.HideSharesCenter(); AdNetworks.HideAd(); }
public override void HandleHide() { base.HandleHide(); GameCommunity.HideActionAppRate(); GameCommunity.HideBroadcastRecordPlayShare(); }
public override void OnButtonClickEventHandler(string buttonName) { //LogUtil.Log("OnButtonClickEventHandler: " + buttonName); if (UIUtil.IsButtonClicked(buttonEarnVideoAds, buttonName)) { LogUtil.Log("buttonEarnVideoAds: " + buttonName); AdNetworks.ShowVideoAd(); } else if (UIUtil.IsButtonClicked(buttonEarnOffers, buttonName)) { LogUtil.Log("buttonEarnOffers: " + buttonName); AdNetworks.ShowOfferWall(); } else if (UIUtil.IsButtonClicked(buttonEarnMoreGames, buttonName)) { LogUtil.Log("buttonEarnMoreGames: " + buttonName); AdNetworks.ShowMoreApps(); } else if (UIUtil.IsButtonClicked(buttonEarnFacebook, buttonName)) { LogUtil.Log("buttonEarnFacebook: " + buttonName); OnFacebookLike("default"); GameCommunity.LikeUrl( SocialNetworkTypes.facebook, Locos.Get(LocoKeys.app_web_url)); } else if (UIUtil.IsButtonClicked(buttonEarnTwitter, buttonName)) { LogUtil.Log("buttonEarnTwitter: " + buttonName); OnTwitterFollow("default"); Platforms.ShowWebView( Locos.Get(LocoKeys.app_display_name), Locos.Get(LocoKeys.app_web_url_twitter)); } else if (UIUtil.IsButtonClicked(buttonEarnWebsite, buttonName)) { LogUtil.Log("buttonEarnWebsite: " + buttonName); OnWebsiteViewed("default"); Platforms.ShowWebView( Locos.Get(LocoKeys.app_display_name), Locos.Get(LocoKeys.app_web_url)); } else if (UIUtil.IsButtonClicked(buttonEarnViewFullscreenAds, buttonName)) { LogUtil.Log("buttonEarnViewFullscreenAds: " + buttonName); AdNetworks.ShowFullscreenAd(); } }
public virtual void AnimateInDelayed() { GameUIPanelFooter.ShowMain(); GameCommunity.HideBroadcastRecordPlayShare(); GameCommunity.ShowActionAppRate(); }
public override void AnimateOut() { base.AnimateOut(); Messenger.Broadcast(GameMessages.gameResultsEnd); GameCommunity.HideSharesCenter(); }
public override void HandleShow() { base.HandleShow(); buttonDisplayState = UIPanelButtonsDisplayState.None; characterDisplayState = UIPanelCharacterDisplayState.None; backgroundDisplayState = UIPanelBackgroundDisplayState.None; GameCommunity.HideBroadcastRecordPlayShare(); }
public override void OnButtonClickEventHandler(string buttonName) { //LogUtil.Log("OnButtonClickEventHandler: " + buttonName); if (buttonName == buttonCoins.name) { GameCommunity.HideGameCommunity(); GameUIController.ShowProductCurrency(); } }
public override void AnimateIn() { base.AnimateIn(); loadData(); GameCommunity.ShowSharesCenter(); Messenger.Broadcast(GameMessages.gameResultsStart); }
public virtual void showDialog() { GameCommunity.HideGameCommunity(); UIPanelCommunityBackground.ShowBackground(); if (GameController.Instance.gameRunningState == GameRunningState.RUNNING) { GameController.GameRunningStateOverlay(); } }
public override void OnButtonClickEventHandler(string buttonName) { //LogUtil.Log("OnButtonClickEventHandler: " + buttonName); #if ENABLE_FEATURE_PRODUCT_CURRENCY if (buttonCoins != null) { if (buttonName == buttonCoins.name) { GameCommunity.HideGameCommunity(); GameUIController.ShowProductCurrency(); } } #endif }