Skip to content

Home > @esengine/ecs-framework-monorepo > Scene > getEntityByName

Scene.getEntityByName() method

根据名称查找实体(别名方法)

Signature:

typescript
getEntityByName(name: string): Entity | null;

Parameters

Parameter

Type

Description

name

string

实体名称

Returns:

Entity | null

基于 MIT 许可证发布