diff options
author | chai <chaifix@163.com> | 2021-05-06 14:51:05 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-05-06 14:51:05 +0800 |
commit | f342c68d13bddf451ab6cd64fc5b13cf65b65c4f (patch) | |
tree | b3457f6c2c9b42017e84a01aef854a4e67586ddc /Assets/LogHelper.cs | |
parent | d0e1834bd1972b4262d3e9b46ed55698a7f92025 (diff) | |
parent | 70ee31ea614d248f67f3d98ada5acb981def7e58 (diff) |
Merge branch 'master' of warmcat.org:/home/git-repo/UGUI_LEARN
# Conflicts:
# Assets/Test/08_Button.meta
# Assets/Test/08_Button/08_Button.unity
# Assets/Test/08_Button/08_Button.unity.meta
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 + } + +} |