[LayaAirIDE 2.0]请问Laya一般是怎么读取.txt数据的?

我试了下Node.js ,但执行下面报错
import * as fs from 'fs-extra';
已邀请:

小小泽

赞同来自:

我们引擎是不支持Node.js的,我们支持的是load。
load(url: string, type?: string | null, cache?: boolean, group?: string| null, ignoreCache?: boolean, useWorkerLoader?: boolean): void

要回复问题请先

商务合作
商务合作