28 lines
437 B
C#
28 lines
437 B
C#
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
|
|
}
|
|
|
|
public static void LogWarning(object obj)
|
|
{
|
|
#if UNITY_EDITOR
|
|
Debug.LogWarning(obj);
|
|
#endif
|
|
}
|
|
|
|
public static void LogError( object obj)
|
|
{
|
|
#if UNITY_EDITOR
|
|
Debug.LogError(obj);
|
|
#endif
|
|
}
|
|
}
|