mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2025-09-18 01:44:35 +08:00
add [HideInCallstack] for EcsDebug
This commit is contained in:
parent
6865955a56
commit
9078b8da32
@ -91,6 +91,9 @@ namespace DCFApixels.DragonECS
|
|||||||
DebugService.Set(service);
|
DebugService.Set(service);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if UNITY_2021_3_OR_NEWER
|
||||||
|
[HideInCallstack]
|
||||||
|
#endif
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
public static void PrintWarning(object v)
|
public static void PrintWarning(object v)
|
||||||
{
|
{
|
||||||
@ -99,6 +102,9 @@ namespace DCFApixels.DragonECS
|
|||||||
DebugService.CurrentThreadInstance.PrintWarning(v);
|
DebugService.CurrentThreadInstance.PrintWarning(v);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
#if UNITY_2021_3_OR_NEWER
|
||||||
|
[HideInCallstack]
|
||||||
|
#endif
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
public static void PrintError(object v)
|
public static void PrintError(object v)
|
||||||
{
|
{
|
||||||
@ -107,6 +113,9 @@ namespace DCFApixels.DragonECS
|
|||||||
DebugService.CurrentThreadInstance.PrintError(v);
|
DebugService.CurrentThreadInstance.PrintError(v);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
#if UNITY_2021_3_OR_NEWER
|
||||||
|
[HideInCallstack]
|
||||||
|
#endif
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
public static void PrintErrorAndBreak(object v)
|
public static void PrintErrorAndBreak(object v)
|
||||||
{
|
{
|
||||||
@ -115,6 +124,9 @@ namespace DCFApixels.DragonECS
|
|||||||
DebugService.CurrentThreadInstance.PrintErrorAndBreak(v);
|
DebugService.CurrentThreadInstance.PrintErrorAndBreak(v);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
#if UNITY_2021_3_OR_NEWER
|
||||||
|
[HideInCallstack]
|
||||||
|
#endif
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
public static void PrintPass(object v)
|
public static void PrintPass(object v)
|
||||||
{
|
{
|
||||||
@ -123,6 +135,9 @@ namespace DCFApixels.DragonECS
|
|||||||
DebugService.CurrentThreadInstance.PrintPass(v);
|
DebugService.CurrentThreadInstance.PrintPass(v);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
#if UNITY_2021_3_OR_NEWER
|
||||||
|
[HideInCallstack]
|
||||||
|
#endif
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
public static void Print()
|
public static void Print()
|
||||||
{
|
{
|
||||||
@ -131,6 +146,9 @@ namespace DCFApixels.DragonECS
|
|||||||
DebugService.CurrentThreadInstance.Print();
|
DebugService.CurrentThreadInstance.Print();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
#if UNITY_2021_3_OR_NEWER
|
||||||
|
[HideInCallstack]
|
||||||
|
#endif
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
public static void Print(object v)
|
public static void Print(object v)
|
||||||
{
|
{
|
||||||
@ -139,6 +157,9 @@ namespace DCFApixels.DragonECS
|
|||||||
DebugService.CurrentThreadInstance.Print(v);
|
DebugService.CurrentThreadInstance.Print(v);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
#if UNITY_2021_3_OR_NEWER
|
||||||
|
[HideInCallstack]
|
||||||
|
#endif
|
||||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||||
public static void Print(string tag, object v)
|
public static void Print(string tag, object v)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user