public unsafe object[] GetManagedObjectRange(ArchetypeManager typeMan, int cachedBeginIndex, int index, out int rangeStart, out int rangeLength)
 {
     object[] objArray = typeMan.GetManagedObjectRange(this.m_CurrentChunk, &this.m_CurrentMatchingArchetype.IndexInArchetype.FixedElementField[this.IndexInComponentGroup], out rangeStart, out rangeLength);
     rangeStart  += index - cachedBeginIndex;
     rangeLength -= index - cachedBeginIndex;
     return(objArray);
 }
        public object[] GetManagedObjectRange(ArchetypeManager typeMan, int cachedBeginIndex, int index, out int rangeStart, out int rangeLength)
        {
            var objs = typeMan.GetManagedObjectRange(m_CurrentChunk, m_CurrentMatchingArchetype->TypeIndexInArchetypeArray[IndexInComponentGroup], out rangeStart, out rangeLength);

            rangeStart  += index - cachedBeginIndex;
            rangeLength -= index - cachedBeginIndex;
            return(objs);
        }
        public object[] GetManagedObjectRange(ArchetypeManager typeMan, int cachedBeginIndex, int index,
                                              out int rangeStart, out int rangeLength)
        {
            var objs = typeMan.GetManagedObjectRange(*m_CurrentChunk,
                                                     m_CurrentMatchingArchetype->IndexInArchetype[IndexInEntityQuery], out rangeStart,
                                                     out rangeLength);

            rangeStart  += index - cachedBeginIndex;
            rangeLength -= index - cachedBeginIndex;
            return(objs);
        }