コード例 #1
0
    void Start()
    {
        {
            m_panel_login.transform.localScale    = new Vector3(0, 0, 0);
            m_panel_register.transform.localScale = new Vector3(0, 0, 0);

            //// 出版号
            //m_text_chubanhao.text = PlayerPrefs.GetString("banhao", "");

            if (!OtherData.s_isFromSetToLogin)
            {
                m_healthTipPanel.transform.localScale = new Vector3(1, 1, 1);
            }

            Set3rdLogin();
            setLogonTypeUI();
        }

        NetLoading.getInstance().Show();
        OtherConfigScript.getInstance().reqNet();

        // 优先使用热更新的代码
        if (ILRuntimeUtil.getInstance().checkDllClassHasFunc("LoginScript_hotfix", "Start"))
        {
            ILRuntimeUtil.getInstance().getAppDomain().Invoke("HotFix_Project.LoginScript_hotfix", "Start", null, null);
            return;
        }
    }
コード例 #2
0
    public static OtherConfigScript getInstance()
    {
        if (s_instance == null)
        {
            s_instance = new OtherConfigScript();
        }

        return(s_instance);
    }
コード例 #3
0
    public void getOtherConfigOver()
    {
        // 拉取热更dll
        {
            m_codeVersion = OtherConfigScript.getInstance().m_CodeVersion;

            NetLoading.getInstance().Show();
            ILRuntimeUtil.getInstance().downDll(OtherData.getWebUrl() + "hotfix/HotFix_Project-" + m_codeVersion + ".dll");
        }
    }