docs.unity.cn
    Show / Hide Table of Contents

    Method GetSystemTypeIndices

    GetSystemTypeIndices(WorldSystemFilterFlags, WorldSystemFilterFlags)

    Return an array of all System types available to the runtime matching the WorldSystemFilterFlags. By default, all systems available to the runtime is returned. This version avoids unnecessary reflection.

    Declaration
    public static NativeList<SystemTypeIndex> GetSystemTypeIndices(WorldSystemFilterFlags filterFlags = WorldSystemFilterFlags.All, WorldSystemFilterFlags requiredFlags = (WorldSystemFilterFlags)0U)
    Parameters
    Type Name Description
    WorldSystemFilterFlags filterFlags

    Flags the returned systems can have

    WorldSystemFilterFlags requiredFlags

    Flags the returned systems must have

    Returns
    Type Description
    NativeList<SystemTypeIndex>

    Returns a list of systems meeting the flag requirements provided

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023