从 cc.loader 到 cc.resource, 缺点东西没法用啊

static loadResDir(url: string, completeCallback: (error: Error, resource: any[], urls: string[]) => void): void;

我需要urls里面分别对resource进行对应好引用里面的东西。

现在cc.resource没有这个urls的返回了。我改怎么引用呢?

你试试这个getDirWithPath

const array = this.bundle.getDirWithPath('/', cc.Prefab)