类型“typeof cc”上不存在属性“Material”。

const Material = new cc.Material();

这么写错了吗? 报错:类型“typeof cc”上不存在属性“Material”。

creator版本:2.3.1

开发者 工作流 更新vs提示