41 lines
		
	
	
		
			858 B
		
	
	
	
		
			C#
		
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			858 B
		
	
	
	
		
			C#
		
	
	
	
| using System.Collections;
 | |
| using System.Collections.Generic;
 | |
| using UnityEngine;
 | |
| 
 | |
| namespace Touka
 | |
| {
 | |
|     public class TKGDebugger
 | |
|     {
 | |
|         public static void LogDebug(string content)
 | |
|         {
 | |
|             if (StaticOtherConfig.IsDebugLog)
 | |
|             {
 | |
|                 Debug.Log(content);
 | |
|             }
 | |
|         }
 | |
| 
 | |
|         public static void LogWarning(string content)
 | |
|         {
 | |
|             if (StaticOtherConfig.IsDebugLog)
 | |
|             {
 | |
|                 Debug.LogWarning(content);
 | |
|             }
 | |
|         }
 | |
| 
 | |
|         public static void LogError(string content)
 | |
|         {
 | |
|             //if (StaticOtherConfig.IsDebugLog)
 | |
|             {
 | |
|                 Debug.LogError("[Error] " + content);
 | |
|             }
 | |
|         }
 | |
| 
 | |
|         public static void SetUnityLogger(bool _logEnable)
 | |
|         {
 | |
|             Debug.unityLogger.logEnabled = _logEnable;
 | |
|         }
 | |
| 
 | |
|     }
 | |
| }
 | |
| 
 |