using UnityEngine; public static class GameLog { //=================================================== // METHODS //=================================================== public static void InitMessage() where T : Component { if(GameData.Instance.InitLogs) Debug.Log("Game Log : " + $"{typeof(T).Name} Initialized!"); }//InitMessage() end public static void ShowMessage(object message) { if(GameData.Instance.EnableLogs) Debug.Log("Game Log : " + message); }//Log() end public static void ShowWarning(object message) { if(GameData.Instance.EnableLogs) Debug.LogWarning("Game Log : " + message); }//Log() end public static void ShowError(object message) { if(GameData.Instance.EnableLogs) Debug.LogError("Game Log : " + message); }//Log() end }//class end