mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2025-09-19 02:24:37 +08:00
simplifying the way to get Enumerator.
This commit is contained in:
parent
cb121b8397
commit
a215d7702a
@ -449,6 +449,11 @@ namespace DCFApixels.DragonECS
|
||||
_entities.Remove(entityID);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region GetEnumerator
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public EcsGroup.Enumerator GetEnumerator() => _entities.GetEnumerator();
|
||||
#endregion
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user