Documentation

Unity Engine

Unity Engine

GetExistingSystem<T>(World)

Return an existing handle for an instance of a system of type T in this World.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public static SystemHandle GetExistingSystem<T>(this World self) where T : unmanaged, ISystem

Parameters

self

The World

Returns

Type

Description

SystemHandleThe existing system instance's handle of system type
T
in this World. If no such instance exists, the method returns SystemHandle.Null.