public static Log ( PSDebugCategory category, PSDebugColor color, string message ) : void | ||
category | PSDebugCategory | |
color | PSDebugColor | |
message | string | |
return | void |
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));
}
}
}