Skip to content

Home > @esengine/ecs-framework-monorepo > ECSFluentAPI > findByName

ECSFluentAPI.findByName() method

按名称查找实体

Signature:

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

Parameters

Parameter

Type

Description

name

string

实体名称

Returns:

Entity | null

实体或null

基于 MIT 许可证发布