コード例 #1
0
ファイル: PSDebug.cs プロジェクト: wooga/ps_social_jam
 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
ファイル: PSDebug.cs プロジェクト: wooga/ps_social_jam
 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);
     }
     }
 }