Exemplo n.º 1
0
 /// <summary>
 /// Logs an error message to the Unity Console.
 /// <param name="message">The message to be printed in the console.</param>
 /// <param name="context">An object to be highlighted if you select the message in the console.</param>
 /// </summary>
 static public void LogError(string message, UnityEngine.Object context)
 {
     if (Debug.isDebugBuild)
     {
         Debug.LogError(Print.GetLogo() + ": " + message, context);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Logs an error message to the Unity Console.
 /// <param name="message">The message to be printed in the console.</param>
 /// </summary>
 static public void LogError(string message)
 {
     if (Debug.isDebugBuild)
     {
         Debug.LogError(Print.GetLogo() + ": " + message);
     }
 }