示例#1
0
 public static void Log(PSDebugCategory category, PSDebugColor color, string message, params object[] args)
 {
     if (IsDebugBuild)
     {
     if (EnabledCategories[category])
     {
         var msg = StringUtils.SafeFormat(message, args);
         UnityEngine.Debug.Log(string.Format("<color={0}>{1}</color>", color, msg));
     }
     }
 }
示例#2
0
 public static void Log(PSDebugCategory category, string message, params object[] args)
 {
     if (IsDebugBuild)
     {
     if (EnabledCategories[category])
     {
         var msg = StringUtils.SafeFormat(message, args);
         UnityEngine.Debug.Log(msg);
     }
     }
 }