Example #1
0
    protected override void OnViewEnable()
    {
        //Debug.Log("Enable Shop menu");
        m_ScreenPivot.InputEnabled = true;
        m_ShopScroller.EnableControls();
        m_ShopScroller.FadeIn();
#if IAP_USE_MFLIVE //when using MFLive, amount of gold is chosen at the paywall page, so we don't show scroller
        if (CurrentPage.GetType() == typeof(GuiShopPageFunds))
        {
            m_ShopScroller.Hide();
        }
#endif
        base.OnViewEnable();
    }
Example #2
0
 public void EnableControls()
 {
     m_Layout.InputEnabled = true;
     m_ItemScroller.EnableControls();
     m_ItemScroller.FadeIn();
 }