声明 func HasScript(target entity, script ScriptID) bool go 参数 输入 名称 类型 描述 目标 entity 目标实体 脚本ID GraphID 脚本ID 返回 类型 描述 Bool 是否存在指定脚本