public ref T Entity(uint entityID) { #if DEBUG && !PROFILER if (map.TryFindIndex(entityID, out var findIndex) == false) { throw new Exception("Entity not found in this group ".FastConcat(typeof(T).ToString())); } #else map.TryFindIndex(entityID, out var findIndex); #endif return(ref map.valuesArray[findIndex]); }