Documentation

Unity Engine

Download Unity

Unity Engine

GetSingletonEntity()

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

Definition

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

Returns

Type

Description

EntityThe only entity matching this query.