|
|
|
|
|
|
errorTextVisibility.Show(); |
|
|
|
var errorString = new StringBuilder(); |
|
|
|
errorString.Append("Error"); |
|
|
|
var codeString = ": "; |
|
|
|
errorString.Append(": "); |
|
|
|
codeString += observed.lastErrorCode; |
|
|
|
|
|
|
|
errorString.Append(codeString); |
|
|
|
{ |
|
|
|
errorString.Append(observed.lastErrorCode); |
|
|
|
errorString.Append(", "); |
|
|
|
} |
|
|
|
errorString.Append("Check Unity Console Log for Details."); |
|
|
|
|
|
|
|
errorText.SetText(errorString.ToString()); |
|
|
|