Skip to content

Home > @esengine/ecs-framework-monorepo > Entity > activeInHierarchy

Entity.activeInHierarchy property

获取实体的有效活跃状态

考虑父实体的活跃状态,只有当实体本身和所有父实体都处于活跃状态时才返回true。

Signature:

typescript
get activeInHierarchy(): boolean;

基于 MIT 许可证发布