only build DebugSystem in debug mode

pull/1/head
cosmonaut 2022-04-03 14:43:51 -07:00
parent 1c184c0166
commit e3a313323d
1 changed files with 3 additions and 0 deletions

View File

@ -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