Documentation

Unity Engine


Unity Engine


GetEnabled(Entity)

Obsolete. Use EntityManager.IsEnabled instead.
Read time 1 minuteLast updated a day ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
Warning
Deprecated. This function has been renamed to IsEnabled(). (RemovedAfter Entities 1.0)
public bool GetEnabled(Entity entity)

Parameters

entity

The entity to check

Returns

Type

Description

boolTrue if the target entity does not have Disabled tag component, or false if it does.