| | |
| | | m_CleanCache.SetListener(CleanCache); |
| | | |
| | | serverRead.SetListener(() => { |
| | | GameAgeWarnWin win = UIManager.Instance.OpenWindow<GameAgeWarnWin>(); |
| | | win.SetFunctionOrder(1); |
| | | // WindowCenter.Instance.OpenFromLocal<GameAgeWarnWin>(1); |
| | | GameAgeWarnWin.data = 1; |
| | | UIManager.Instance.OpenWindow<GameAgeWarnWin>(); |
| | | }); |
| | | |
| | | hideRead.SetListener(() => { |
| | | GameAgeWarnWin win = UIManager.Instance.OpenWindow<GameAgeWarnWin>(); |
| | | win.SetFunctionOrder(2); |
| | | GameAgeWarnWin.data = 2; |
| | | UIManager.Instance.OpenWindow<GameAgeWarnWin>(); |
| | | }); |
| | | ageWarn.SetListener(() => { |
| | | GameAgeWarnWin win = UIManager.Instance.OpenWindow<GameAgeWarnWin>(); |
| | | win.SetFunctionOrder(3); |
| | | GameAgeWarnWin.data = 3; |
| | | UIManager.Instance.OpenWindow<GameAgeWarnWin>(); |
| | | }); |
| | | } |
| | | |
| | |
| | | public override void Refresh() |
| | | { |
| | | base.Refresh(); |
| | | Debug.Log("刷新登录窗口"); |
| | | |
| | | |
| | | // 版本信息 |
| | | string strVersion = StringUtility.Contact("ver ", InitialFunctionConfig.Get("version").Numerical1); |
| | | verInfo.text = strVersion; |
| | | Debug.Log("刷新登录窗口");
|
| | |
|
| | | //打包版本 + 功能版本 + 语言ID
|
| | | verInfo.text = LoginManager.Instance.GetVersionStr(); |
| | | |
| | | var sprite = BuiltInLoader.LoadSprite("TB_DL_Logo"); |
| | | m_Logo.overrideSprite = sprite; |