using UnityEngine; namespace Script.FrameWork { public static class LogHelper { public static bool IsEnable = true; public static void LogWarn(string content, bool force = false) { if (IsEnable && !force) Debug.LogWarning(content); } public static void LogError(string content, bool force = false) { if (IsEnable && !force) Debug.LogError(content); } public static void LogInfo(string content, bool force = false) { if (IsEnable && !force) Debug.Log(content); } } }