Failed to set property New ProgressBar to 2 at mode, TypeError: Cannot read property ‘width’ of undefined
点击mode的filled就出现报错提示,如上。 有没有遇到一样问题的。
Failed to set property New ProgressBar to 2 at mode, TypeError: Cannot read property ‘width’ of undefined
点击mode的filled就出现报错提示,如上。 有没有遇到一样问题的。
一样啊 估计功能还没做好
就是,改了这个属性,才提示的这个错误
progressbar有个子节点,把这个子节点的sprite组件的type改为FILLED
你的creator 版本是多少?
是这个界面吧?
就是设置这个节点报错
![]()
在层级管理器里点击bar这个node,在右边属性检查器里找到sprite组件,找到type这个属性,修改为FILLED
找到了谢谢