Initial Commit
This commit is contained in:
commit
d2176afff9
23 changed files with 778 additions and 0 deletions
21
CruelMan/Utils/Log.cs
Normal file
21
CruelMan/Utils/Log.cs
Normal file
|
@ -0,0 +1,21 @@
|
|||
namespace CruelMan.Utils {
|
||||
public static class Log {
|
||||
public static void Info(string message) {
|
||||
#if DEBUG
|
||||
UnityEngine.Debug.Log($"[CruelMan] {message}");
|
||||
#endif
|
||||
}
|
||||
|
||||
public static void Warn(string message) {
|
||||
#if DEBUG
|
||||
UnityEngine.Debug.LogWarning($"[CruelMan] {message}");
|
||||
#endif
|
||||
}
|
||||
|
||||
public static void Error(string message) {
|
||||
#if DEBUG
|
||||
UnityEngine.Debug.LogError($"[CruelMan] {message}");
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue