Ejemplo n.º 1
0
 public static NativeArray <SortedEntity> GetAllSortedEntities(this EntityManager entityManager, ComponentSystemBase system, Allocator allocator)
 {
     return(entityManager.GetBuffer <SortedEntity>(system.GetSingletonEntity <SortedEntities>()).ToNativeArray(allocator));
 }