diff --git a/src/Debug/EcsDebug.cs b/src/Debug/EcsDebug.cs index 39eed53..af3aae3 100644 --- a/src/Debug/EcsDebug.cs +++ b/src/Debug/EcsDebug.cs @@ -50,6 +50,14 @@ namespace DCFApixels.DragonECS DebugService.Instance.Print(tag, v); #endif } + public static void Break() + { + { +#if !DISABLE_DRAGONECS_DEBUGGER + DebugService.Instance.Break(); +#endif + } + } } public abstract class DebugService