你的浏览器禁用了JavaScript, 请开启后刷新浏览器获得更好的体验!
输入关键字进行搜索
搜索:
发现
话题
全文搜索
登录
[LayaAirIDE 2.0]TypeError: Cannot read property 'on' of null
按钮点击报错
同一个页面中包含多个view组件,总scence上使用gamecontrol脚本注册各个组件,在分view上设置按钮点击事件,运行即报错
取消第二个页面的按钮.on之后不报错
example.rar
没有找到相关结果
已邀请:
与内容相关的链接
提交
1 个回复
Aar0n
赞同来自:
按钮挂script脚本, 脚本的onclick 写点击后的逻辑
要回复问题请先
登录
发起人
且过奈何
相关问题
laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined
Uncaught TypeError: Cannot read property 'props' of undefined
子类父类都有regclass,但是编辑器没有暴露出父类的property
alertexception info: [Typeerror: null is not object (evaluating this. vaoext createvertexarrayoes"]
laya2.6.0打apk和小游戏都会报_InPool为null
Getcomponent 报错Uncaught (in promise) TypeError: Right-hand side of 'instanceof' is not an object
浏览器运行提示TypeError: xxx is not a function
Cannot read property 'displayObject' of null
鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错误
构建APP Android Studio打出的APK 报apploader.js:4515 TypeError: addGlobalValueDefine is not a function
关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function
问题状态
最新活动:
2019-05-25 14:00
浏览:
6243
关注:
2
人
商务合作
1 个回复
Aar0n
赞同来自: