Beispiel #1
0
 public static void LogError(object obj)
 {
     if (Debuger._isOnConsole)
     {
         string text = string.Format(Debuger.GetTime(), obj);
         text = "<color=red>" + text + "</color>";
         Debug.LogError(text);
     }
 }
Beispiel #2
0
 public static void LogWarning(object obj)
 {
     if (Debuger._isOnConsole)
     {
         string text = string.Format(Debuger.GetTime(), obj);
         text = "<color=yellow>" + text + "</color>";
         Debug.LogWarning(text);
     }
 }