Esempio n. 1
0
    /// <summary>
    /// 隐藏左右两个动画轴
    /// </summary>
    public void HideAniScroll()
    {
        NGUIUtil.SetActive(MyHead.ScrollLeft, false);
        NGUIUtil.SetActive(MyHead.ScrollRight, false);

        List <ItemTypeInfo> litem = ItemDC.SearchItemListBystype(45);

        if (litem.Count > 0)
        {
            ItemUseConfirmWnd wnd = WndManager.GetDialog <ItemUseConfirmWnd>();
            if (wnd != null)
            {
                wnd.SetData(45, litem);
            }
        }
    }
Esempio n. 2
0
    /// <summary>
    /// 隐藏左右两个动画轴
    /// </summary>
    public void HideAniScroll()
    {
        NGUIUtil.SetActive(MyHead.ScrollLeft, false);
        NGUIUtil.SetActive(MyHead.ScrollRight, false);
        NGUIUtil.SetPanelClipping(MyHead.PanelMask, UIDrawCall.Clipping.None);
        if (m_bGuide)
        {
            return;
        }

        List <ItemTypeInfo> litem = ItemDC.SearchItemListBystype(44);

        if (litem.Count > 0)
        {
            ItemUseConfirmWnd wnd = WndManager.GetDialog <ItemUseConfirmWnd>();
            wnd.SetData(44, litem);
        }
    }