public virtual void HandleHide() { GameCommunity.HideActionAppRate(); GameCommunity.HideSharesCenter(); AdNetworks.HideAd(); }
public void HandleAdDisplay() { // handle character display if (adDisplayState == UIPanelAdDisplayState.BannerBottom || adDisplayState == UIPanelAdDisplayState.BannerTop) { // TODO handle types... AdNetworks.ShowAd(); } else { AdNetworks.HideAd(); } }
public virtual void AnimateOut(float time, float delay) { if (!isVisible) { return; } //HideCamera(); HandleHide(); AdNetworks.HideAd(); AnimateOutCenter(time, delay); AnimateOutLeft(time, delay); AnimateOutLeftBottom(time, delay); AnimateOutLeftTop(time, delay); AnimateOutRight(time, delay); AnimateOutRightBottom(time, delay); AnimateOutRightTop(time, delay); AnimateOutTop(time, delay); AnimateOutBottom(time, delay); ListClear(); if (panelContainer != null) { if (!panelContainer.activeSelf || !panelContainer.activeInHierarchy) { panelContainer.Hide(); } else { StartCoroutine(HidePanelCo(delay + .5f)); } } isVisible = false; }