文档

Unity Engine

Unity Engine

GetEnabled(Entity)

Obsolete. Use EntityManager.IsEnabled instead.
阅读时间1 分钟最后更新于 19 天前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
警告
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.