docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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

    In This Article
    • SortSystemTypesInCreationOrder(List<Type>)
    • SortSystemTypesInCreationOrder(NativeList<SystemTypeIndex>)
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)