mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2025-09-18 01:44:35 +08:00
update DebuggerDisplay for pool
This commit is contained in:
parent
d83ffba82a
commit
ebf3975804
@ -31,7 +31,7 @@ namespace DCFApixels.DragonECS
|
|||||||
[MetaGroup(EcsConsts.PACK_GROUP, EcsConsts.POOLS_GROUP)]
|
[MetaGroup(EcsConsts.PACK_GROUP, EcsConsts.POOLS_GROUP)]
|
||||||
[MetaDescription(EcsConsts.AUTHOR, "Pool for IEcsComponent components.")]
|
[MetaDescription(EcsConsts.AUTHOR, "Pool for IEcsComponent components.")]
|
||||||
[MetaID("C501547C9201A4B03FC25632E4FAAFD7")]
|
[MetaID("C501547C9201A4B03FC25632E4FAAFD7")]
|
||||||
[DebuggerDisplay("{ComponentType}: {Count}")]
|
[DebuggerDisplay("Count: {Count} Type: {ComponentType}")]
|
||||||
public sealed class EcsPool<T> : IEcsPoolImplementation<T>, IEcsStructPool<T>, IEnumerable<T> //IEnumerable<T> - IntelliSense hack
|
public sealed class EcsPool<T> : IEcsPoolImplementation<T>, IEcsStructPool<T>, IEnumerable<T> //IEnumerable<T> - IntelliSense hack
|
||||||
where T : struct, IEcsComponent
|
where T : struct, IEcsComponent
|
||||||
{
|
{
|
||||||
|
@ -31,7 +31,7 @@ namespace DCFApixels.DragonECS
|
|||||||
[MetaGroup(EcsConsts.PACK_GROUP, EcsConsts.POOLS_GROUP)]
|
[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.")]
|
[MetaDescription(EcsConsts.AUTHOR, "Pool for IEcsTagComponent components. EcsTagPool is optimized for storing tag components or components without data.")]
|
||||||
[MetaID("9D80547C9201E852E4F17324EAC1E15A")]
|
[MetaID("9D80547C9201E852E4F17324EAC1E15A")]
|
||||||
[DebuggerDisplay("Count: {Count}")]
|
[DebuggerDisplay("Count: {Count} Type: {ComponentType}")]
|
||||||
public sealed class EcsTagPool<T> : IEcsPoolImplementation<T>, IEcsStructPool<T>, IEnumerable<T> //IEnumerable<T> - IntelliSense hack
|
public sealed class EcsTagPool<T> : IEcsPoolImplementation<T>, IEcsStructPool<T>, IEnumerable<T> //IEnumerable<T> - IntelliSense hack
|
||||||
where T : struct, IEcsTagComponent
|
where T : struct, IEcsTagComponent
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user