示例#1
0
文件: Log.cs 项目: HebaruSan/ODFCr
 public static void Debug(bool debugMode, String msg)
 {
     if (debugMode)
     {
         UnityEngine.Debug.LogError(PREFIX + msg);
     }
     else
     {
         Logg.Info(msg);
     }
 }
示例#2
0
文件: Log.cs 项目: HebaruSan/ODFCr
 public static void Exception(Exception e)
 {
     Logg.Error("exception caught: " + e.GetType() + ": " + e.Message);
 }