Exemplo n.º 1
0
        public void Show(object data)
        {
            Show();

            GameVersionMismatchException gameVersionMismatchException = data as GameVersionMismatchException;

            if (gameVersionMismatchException != null)
            {
                SetUIState(LoginState.RemoteVersionMismatch);
                UpdateVersionMismatchText(gameVersionMismatchException);
            }
        }
Exemplo n.º 2
0
 private void UpdateVersionMismatchText(GameVersionMismatchException exception)
 {
     _versionMismatchText.text =
         $"This version ({exception.LocalVersion}) is out of date.\n\nPlease download version {exception.RemoteVersion}.";
 }