From e3a313323d72a8957992943b6de43a48e3014cd7 Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Sun, 3 Apr 2022 14:43:51 -0700 Subject: [PATCH] only build DebugSystem in debug mode --- src/DebugSystem.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/DebugSystem.cs b/src/DebugSystem.cs index b4836cd..6db9882 100644 --- a/src/DebugSystem.cs +++ b/src/DebugSystem.cs @@ -1,5 +1,7 @@ // NOTE: these methods are very inefficient // this class should only be used in debugging contexts!! + +#if DEBUG namespace MoonTools.ECS { public abstract class DebugSystem : System @@ -24,3 +26,4 @@ namespace MoonTools.ECS } } } +#endif