diff --git a/Runtime/WorldDebugSystem.cs b/Runtime/WorldDebugSystem.cs index 5860cf7..5cafde6 100644 --- a/Runtime/WorldDebugSystem.cs +++ b/Runtime/WorldDebugSystem.cs @@ -2,7 +2,11 @@ using Leopotam.EcsLite; namespace Nomnom.EcsLiteDebugger { +#if DEBUG || LEOECSLITE_WORLD_EVENTS public class WorldDebugSystem: IEcsPreInitSystem, IEcsRunSystem, IEcsDestroySystem, IEcsWorldEventListener { +#else + public class WorldDebugSystem: IEcsPreInitSystem, IEcsRunSystem, IEcsDestroySystem { +#endif private readonly string _name; private WorldDebugView _view; private List<(int, WorldDebugView.ChangeType)> _dirtyEntities; diff --git a/package.json b/package.json index 6b543bb..2ff414e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "com.nomnom.ecslite-debugger", - "version": "1.0.1", + "version": "1.0.2", "displayName": "ecsLite Debugger", "description": "Provides a hierarchy and inspector window to view world entities, and mutate components.", "unity": "2021.3",