diff --git a/src/Debug/MetaAttributes/MetaColorAttribute.cs b/src/Debug/MetaAttributes/MetaColorAttribute.cs index f9c81bf..d82e8a7 100644 --- a/src/Debug/MetaAttributes/MetaColorAttribute.cs +++ b/src/Debug/MetaAttributes/MetaColorAttribute.cs @@ -1,8 +1,6 @@ using DCFApixels.DragonECS.Internal; using System; -using System.Diagnostics; using System.Runtime.InteropServices; -using System.Xml.Linq; namespace DCFApixels.DragonECS { diff --git a/src/Debug/MetaAttributes/MetaDescriptionAttribute.cs b/src/Debug/MetaAttributes/MetaDescriptionAttribute.cs index 1a03581..2973aa4 100644 --- a/src/Debug/MetaAttributes/MetaDescriptionAttribute.cs +++ b/src/Debug/MetaAttributes/MetaDescriptionAttribute.cs @@ -1,5 +1,4 @@ using System; -using System.Diagnostics; namespace DCFApixels.DragonECS { diff --git a/src/Debug/MetaAttributes/MetaGroupAttribute.cs b/src/Debug/MetaAttributes/MetaGroupAttribute.cs index f4efc47..5b98129 100644 --- a/src/Debug/MetaAttributes/MetaGroupAttribute.cs +++ b/src/Debug/MetaAttributes/MetaGroupAttribute.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using System.Diagnostics; using System.Text.RegularExpressions; namespace DCFApixels.DragonECS diff --git a/src/Pools/EcsPool.cs b/src/Pools/EcsPool.cs index 5d65ea6..684854e 100644 --- a/src/Pools/EcsPool.cs +++ b/src/Pools/EcsPool.cs @@ -9,10 +9,13 @@ namespace DCFApixels.DragonECS { /// Standard component public interface IEcsComponent : IEcsComponentType { } + #if ENABLE_IL2CPP using Unity.IL2CPP.CompilerServices; [Il2CppSetOption (Option.NullChecks, false)] #endif + [MetaColor(MetaColor.DragonRose)] + [MetaGroup(EcsConsts.FRAMEWORK_NAME)] /// Pool for IEcsComponent components 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 017afa3..c7f856d 100644 --- a/src/Pools/EcsTagPool.cs +++ b/src/Pools/EcsTagPool.cs @@ -9,10 +9,14 @@ namespace DCFApixels.DragonECS { /// Component without data public interface IEcsTagComponent : IEcsComponentType { } + #if ENABLE_IL2CPP using Unity.IL2CPP.CompilerServices; [Il2CppSetOption (Option.NullChecks, false)] #endif + [MetaColor(MetaColor.DragonRose)] + [MetaGroup(EcsConsts.FRAMEWORK_NAME)] + /// Pool for IEcsTagComponent components public sealed class EcsTagPool : IEcsPoolImplementation, IEcsStructPool, IEnumerable //IEnumerable - IntelliSense hack where T : struct, IEcsTagComponent { diff --git a/src/entlong.cs b/src/entlong.cs index 9c613ed..9ea9621 100644 --- a/src/entlong.cs +++ b/src/entlong.cs @@ -6,7 +6,6 @@ using System.Collections.Generic; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using System.Security.Cryptography; //using System.Runtime.Serialization; namespace DCFApixels.DragonECS @@ -408,7 +407,7 @@ namespace DCFApixels.DragonECS { get { - if(State == EntState.Alive) + if (State == EntState.Alive) { World.GetComponentsFor(id, _componentsList); return _componentsList;