跳到主要内容

exists 判断角色是否存在目标

exists

类型: MethodDeclaration

所属类: TargetManager

定义位置: actor.ts

描述

判断角色是否存在目标

返回值

类型: boolean

源代码

位置: 第 5117 行

public exists(): boolean {
return this.targets.length !== 0
}

文档生成时间:2025/7/7 12:07:06