GetSystems(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. Prefer GetSystemTypeIndices over this to avoid unnecessary reflection.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public static IReadOnlyList<Type> GetSystems(WorldSystemFilterFlags filterFlags = WorldSystemFilterFlags.All, WorldSystemFilterFlags requiredFlags = (WorldSystemFilterFlags)0)
Parameters
Flags the returned systems can have
Flags the returned systems must have
Returns
Type | Description |
|---|---|
| IReadOnlyList<Type> | Returns a list of systems meeting the flag requirements provided |