如何在Editor扩展时读取Asset

Editor扩展时想读取项目中的Asset资源对象,要怎么读取,有类似Unity的LoadAssetAtPath这样的接口吗?

用assetUuid读取
cc.loader.load({ type: “uuid”, uuid: assetUuid }, function (err, asset) {
});