Skip to content

Commit

Permalink
Removes IEcsWorldEventListener in non-Debug builds
Browse files Browse the repository at this point in the history
  • Loading branch information
nomnomab committed Sep 14, 2022
1 parent 0e3a3c6 commit 959f583
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Runtime/WorldDebugSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 959f583

Please sign in to comment.