Method SortSystemTypesInCreationOrder
SortSystemTypesInCreationOrder(List<Type>)
Sorts a list of system types based on rules defined via the CreateBeforeAttribute and CreateAfterAttribute.
Declaration
public static void SortSystemTypesInCreationOrder(List<Type> systemTypes)
Parameters
Type | Name | Description |
---|---|---|
List<Type> | systemTypes | A List of system types to sort. |
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 |
---|---|---|
NativeList<SystemTypeIndex> | indices | The system type indices to sort |