28 lines
437 B
C#
Raw Normal View History

2024-11-29 21:37:01 +08:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class BDebug
{
public static void Log(object obj )
{
#if UNITY_EDITOR
Debug.Log(obj);
#endif
}
2024-12-09 11:19:14 +08:00
public static void LogWarning(object obj)
{
2024-12-11 20:35:20 +08:00
#if UNITY_EDITOR
2024-12-09 11:19:14 +08:00
Debug.LogWarning(obj);
2024-12-11 20:35:20 +08:00
#endif
2024-12-09 11:19:14 +08:00
}
2024-11-29 21:37:01 +08:00
public static void LogError( object obj)
{
2024-12-11 20:35:20 +08:00
#if UNITY_EDITOR
2024-11-29 21:37:01 +08:00
Debug.LogError(obj);
2024-12-11 20:35:20 +08:00
#endif
2024-11-29 21:37:01 +08:00
}
}