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