Documentation

Unity Engine


Unity Engine


GetSingletonEntity()

Attempts to retrieve the single entity that this query matches.
Read time 1 minuteLast updated a day ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public Entity GetSingletonEntity()

Returns

Type

Description

EntityThe only entity matching this query.