Exemplo n.º 1
0
    public override void OnLanguageChange()
    {
        this.Text_Setting.text = GameLogic.Hold.Language.GetLanguageByTID("设置_标题", Array.Empty <object>());
        this.mMusicCtrl.UpdateLanguage();
        this.mSoundCtrl.UpdateLanguage();
        this.mLanguageCtrl.UpdateLanguage();
        this.mQualityCtrl.UpdateLanguage();
        this.mProducterCtrl.UpdateLanguage();
        this.mReportCtrl.UpdateLanguage();
        this.update_userid();
        string languageByTID = GameLogic.Hold.Language.GetLanguageByTID("AppVersion", Array.Empty <object>());

        object[] args = new object[] { languageByTID, PlatformHelper.GetAppVersionName().ToString() };
        string   str2 = Utils.FormatString("{0}: {1}", args);

        this.Text_Version.text = str2;
    }