diff options
author | chai <chaifix@163.com> | 2021-05-06 09:43:22 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-05-06 09:43:22 +0800 |
commit | 70ee31ea614d248f67f3d98ada5acb981def7e58 (patch) | |
tree | bf9b732218ab1baef575ca65103fe46a350ad1ba /Assets/LogHelper.cs | |
parent | 36f7e54273c5776fea352742a2189702242aa5c0 (diff) |
*misc
Diffstat (limited to 'Assets/LogHelper.cs')
-rw-r--r-- | Assets/LogHelper.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Assets/LogHelper.cs b/Assets/LogHelper.cs new file mode 100644 index 0000000..f95bf18 --- /dev/null +++ b/Assets/LogHelper.cs @@ -0,0 +1,16 @@ +#define UGUI_DEBUG +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class LogHelper +{ + + public static void Log(string content) + { +#if UGUI_DEBUG + Debug.Log(content); +#endif + } + +} |