浏览代码

Added a clearer Refreshlist error message.

/main/staging/429_cooldown_implementation
当前提交
68ff15dc
共有 1 个文件被更改,包括 6 次插入4 次删除
  1. 10
      Assets/Scripts/UI/SpinnerUI.cs

10
Assets/Scripts/UI/SpinnerUI.cs


errorTextVisibility.Show();
var errorString = new StringBuilder();
errorString.Append("Error");
var codeString = ": " + observed.lastErrorCode;
if (observed.lastErrorCode < 1)
codeString = ".";
var codeString = ": ";
if (observed.lastErrorCode > 0)
codeString += observed.lastErrorCode;
errorString.Append("Check Unity Console Log for Details.");
errorText.SetText(errorString.ToString());
}
else if (observed.State == LobbyQueryState.Fetched)

正在加载...
取消
保存