Beispiel #1
0
 public static bool ValidateErrorEvent(GAErrorSeverity severity, string message)
 {
     if (severity == GAErrorSeverity.Undefined)
     {
         Debug.Log("Validation fail - error event - severity: Severity was unsupported value.");
         return(false);
     }
     if (GAValidator.ValidateLongString(message, true))
     {
         return(true);
     }
     Debug.Log("Validation fail - error event - message: Message cannot be above 8192 characters.");
     return(false);
 }