Ejemplo n.º 1
0
 private void Update()
 {
     if (Input.GetKeyDown(KeyCode.F1))
     {
         UI_Popup_Showing popup = UI_Manager.Getsingleton.CreatAndGetPopup <UI_Popup_Showing>(UIPOPUP.POPUPSHOWINGLEVEL);
         popup.set_showingInfo(new ShowingInfo(), ShowingKind.UserlvUp);
     }
 }
Ejemplo n.º 2
0
    void callback_completeShowing()
    {
        UI_News.Getsingleton.ClearElement_One(this);

        //레업 됫을시 렙업 연출을 위함
        User _user = UserDataManager.instance.user;

        if (_user.Dic_Showing.ContainsKey(ITEMTYPE.LV))
        {
            UI_Popup_Showing popup = UI_Manager.Getsingleton.CreatAndGetPopup <UI_Popup_Showing>(UIPOPUP.POPUPSHOWINGLEVEL);
            popup.set_showingInfo(_user.Dic_Showing[ITEMTYPE.LV], ShowingKind.UserlvUp);

            _user.Dic_Showing.Remove(ITEMTYPE.LV);
        }
    }
Ejemplo n.º 3
0
    //연출이 잇는지 체크
    void Chk_Showing()
    {
        GainItem returnGainItem = null;

        if (BaseData.m_Datas != null && BaseData.m_Datas.Count > 0)
        {
            returnGainItem = (GainItem)BaseData.m_Datas[0];
            BaseData.m_Datas.RemoveAt(0);

            if (returnGainItem != null)
            {
                UI_Popup_Showing popup = UI_Manager.Getsingleton.CreatAndGetPopup <UI_Popup_Showing>(UIPOPUP.POPUPSHOWINGLEVEL);
                popup.set_showingInfo(new ShowingInfo(), ShowingKind.UserlvUp);
            }
        }
        //if (webResponse.GetResultGainItem(ITEMTYPE.LV, ref returnGainItem))
        //{
        //    UI_Popup_Showing popup = UI_Manager.Getsingleton.CreatAndGetPopup<UI_Popup_Showing>(UIPOPUP.POPUPSHOWINGLEVEL);
        //    popup.set_showingInfo(new ShowingInfo(), ShowingKind.UserlvUp);
        //}
    }