Method GetSystemTypeIndices
GetSystemTypeIndices(WorldSystemFilterFlags, 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)0, WorldSystemFilterFlags excludedFlags = WorldSystemFilterFlags.Disabled)
Parameters
| Type | Name | Description |
|---|---|---|
| WorldSystemFilterFlags | filterFlags | Optional flags - include systems that match any of these flags (OR logic). Defaults to All. |
| WorldSystemFilterFlags | requiredFlags | Required flags - include only systems that match all of these flags (AND logic). Defaults to none. |
| WorldSystemFilterFlags | excludedFlags | Excluded flags - exclude systems that match any of these flags (NOT logic). Defaults to Disabled, hiding [DisableAutoCreation] systems. |
Returns
| Type | Description |
|---|---|
| NativeList<SystemTypeIndex> | Returns a list of systems meeting the flag requirements provided |