示例#1
0
    void InitBottomBtn()
    {
        CommonBtnInfo btnInfo = new CommonBtnInfo(0, "JH_UI_Button_1116_06", "JH_UI_Button_1116_00", OnBackButtonTapped);

        //if (m_heroVocation == 1)
        //    m_buttomBtn = new CommonBtnInfo(1, "JH_UI_Button_1116_02", "JH_UI_Button_1116_00", ShowUpgradeSkillBtn);
        //else
        //    m_buttomBtn = new CommonBtnInfo(1, "JH_UI_Button_1116_01", "JH_UI_Button_1116_00", ShowUpgradeSkillBtn);

        UpdatePanelState(SkillUIType.AssemblySkill);
        m_commonUIBottomButtonTool.Show(new List <CommonBtnInfo>()
        {
            btnInfo
        });

        var btnInfoComponet = m_commonUIBottomButtonTool.GetButtonComponent(btnInfo);

        if (btnInfoComponet != null)
        {
            //TODO GuideBtnManager.Instance.RegGuideButton(btnInfoComponet.gameObject, UIType.SkillMain, SubType.ButtomCommon, out m_guideBtnID[0]);
        }
        //var m_buttomBtnComponet = m_commonUIBottomButtonTool.GetButtonComponent(m_buttomBtn);
        //if (m_buttomBtnComponet != null)
        //{
        //    //TODO GuideBtnManager.Instance.RegGuideButton(m_buttomBtnComponet.gameObject, UIType.SkillMain, SubType.ButtomCommon, out m_guideBtnID[1]);
        //}
    }
示例#2
0
        void Awake()
        {
            JoinGameBtn.SetCallBackFuntion(OnJoinGameBtnClick);
            LastPageBtn.SetCallBackFuntion(OnLastPageBtnClick);
            NextPageBtn.SetCallBackFuntion(OnNextPageBtnClick);

            CommonBtnInfo commonBtnInfo = new CommonBtnInfo(OnBackButtonTapped);  //暂时没有返回回调

            GoBackButton.InitButton(commonBtnInfo);
        }
示例#3
0
        void Awake()
        {
            //PlatformLoginBehaviour.message += " ServerListPanel_V3 Awake:";
            //LoginManager.Instance.ServerVersion = VersionConfigDB.versionData.Version;
            LoginTipsLabel.SetText("");
            SelectServerBtn.SetCallBackFuntion(OnSelectServerBtnClick);
            JoinGameBtn.SetCallBackFuntion(OnJoinGameBtnClick);
            CommonBtnInfo commonBtnInfo = new CommonBtnInfo(OnBackButtonTapped);  //暂时没有返回回调

            GoBackButton.InitButton(commonBtnInfo);
        }