using Svelto.DataStructures; namespace Svelto.ECS.Internal { public struct NativeEntityIDs: IEntityIDs { public NativeEntityIDs(NB> native) { _native = native; } public void Update(in NB> unsafeKeys) { _native = unsafeKeys; } public uint this[uint index] => _native[index].key; public uint this[int index] => _native[index].key; NB> _native; } }