public void Show(object data) { Show(); GameVersionMismatchException gameVersionMismatchException = data as GameVersionMismatchException; if (gameVersionMismatchException != null) { SetUIState(LoginState.RemoteVersionMismatch); UpdateVersionMismatchText(gameVersionMismatchException); } }
private void UpdateVersionMismatchText(GameVersionMismatchException exception) { _versionMismatchText.text = $"This version ({exception.LocalVersion}) is out of date.\n\nPlease download version {exception.RemoteVersion}."; }