文档

Unity Engine

Download Unity

Unity Engine

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.
阅读时间1 分钟最后更新于 19 天前

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