文档

Unity Engine

Unity Engine

WorldExtensions

Variants of World methods that support unmanaged systems ( ISystem s)
阅读时间1 分钟最后更新于 19 天前

Definition

  • Type: Class
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public static class WorldExtensions

Static Methods

Method

Description

CreateSystemCreate and return a handle for an instance of a system of type
T
in this World.
GetExistingSystemReturn an existing handle for an instance of a system of type
T
in this World.
GetOrCreateSystemRetrieve the handle for an instance of a system of type
T
from the current World. If the system does not exist in this World, it will first be created.