Failed to get default value of “skingameView” in class “M_ThirteenCardClass”. If using TypeScript, you also need to pass in the “default” attribute required by the “property” decorator.
有遇到这种情况的吗?
Failed to get default value of “skingameView” in class “M_ThirteenCardClass”. If using TypeScript, you also need to pass in the “default” attribute required by the “property” decorator.
有遇到这种情况的吗?
是不是报错信息还是的不够清楚……
你在用 TypeScript 是吗?你的脚本 M_ThirteenCardClass.ts 中的 skingameView 定义,需要在装饰器 property 里面声明 { default: 默认值 }