Method SortSystemTypesInCreationOrder
SortSystemTypesInCreationOrder(List<Type>)
Sorts a list of system types based on rules defined via the
Create
Declaration
public static void SortSystemTypesInCreationOrder(List<Type> systemTypes)
Parameters
SortSystemTypesInCreationOrder(NativeList<SystemTypeIndex>)
Sort the provided system type indices by their systems' CreateAfter and CreateBefore attributes, for the purposes of creating them in an order that respects said constraints. For use in implementing custom world creation, such as with ICustomBootstrap.
Declaration
public static void SortSystemTypesInCreationOrder(NativeList<SystemTypeIndex> indices)
Parameters
Type | Name | Description |
---|---|---|
Native |
indices | The system type indices to sort |