From ebf39758043b3e436f416f019b13af19c998c96a Mon Sep 17 00:00:00 2001 From: DCFApixels <99481254+DCFApixels@users.noreply.github.com> Date: Fri, 14 Mar 2025 17:07:38 +0800 Subject: [PATCH] update DebuggerDisplay for pool --- src/Pools/EcsPool.cs | 2 +- src/Pools/EcsTagPool.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Pools/EcsPool.cs b/src/Pools/EcsPool.cs index 9edc514..50bd9d5 100644 --- a/src/Pools/EcsPool.cs +++ b/src/Pools/EcsPool.cs @@ -31,7 +31,7 @@ namespace DCFApixels.DragonECS [MetaGroup(EcsConsts.PACK_GROUP, EcsConsts.POOLS_GROUP)] [MetaDescription(EcsConsts.AUTHOR, "Pool for IEcsComponent components.")] [MetaID("C501547C9201A4B03FC25632E4FAAFD7")] - [DebuggerDisplay("{ComponentType}: {Count}")] + [DebuggerDisplay("Count: {Count} Type: {ComponentType}")] public sealed class EcsPool : IEcsPoolImplementation, IEcsStructPool, IEnumerable //IEnumerable - IntelliSense hack where T : struct, IEcsComponent { diff --git a/src/Pools/EcsTagPool.cs b/src/Pools/EcsTagPool.cs index 8cb5624..5ce4f10 100644 --- a/src/Pools/EcsTagPool.cs +++ b/src/Pools/EcsTagPool.cs @@ -31,7 +31,7 @@ namespace DCFApixels.DragonECS [MetaGroup(EcsConsts.PACK_GROUP, EcsConsts.POOLS_GROUP)] [MetaDescription(EcsConsts.AUTHOR, "Pool for IEcsTagComponent components. EcsTagPool is optimized for storing tag components or components without data.")] [MetaID("9D80547C9201E852E4F17324EAC1E15A")] - [DebuggerDisplay("Count: {Count}")] + [DebuggerDisplay("Count: {Count} Type: {ComponentType}")] public sealed class EcsTagPool : IEcsPoolImplementation, IEcsStructPool, IEnumerable //IEnumerable - IntelliSense hack where T : struct, IEcsTagComponent {