Uncaught TypeError: Cannot read property 'getComponent' of null 一直出现这个提示为什么?
Creator 2.x
zhaomeng259
(tigerzhao)
2019年03月3日 02:52
#1
代码是这样 var t = cc.find(“button1”).getComponent(cc.Label);
一运行就报错 button1这个肯定是有的