• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 16 项符合查询结果, 库内数据总量为 14,848 项。 (搜索耗时: 0.0057 秒)

1. 按钮属性disabled mouseEnabled bug [ 100%]

按钮属性disabled mouseEnabled bug 一开始在页面类构造函数把按钮gray设置为true,mouseEnabled设置为false ,设置一个定时器把按钮gray设置为false,mouseEnabled设置为true  页面上显灰恢复,断点也走到btn.mouseEnabled = true 但是按钮没有接受点...

来源: Laya_社区 发布时间: 20171019

2. button的disable = true设置,帧数瞬间下降问题 [ 93%]

button的disable = true设置,帧数瞬间下降问题 自己测试了一下:在Pc上,创建30个Button然后同时将Button的disable = true; 帧数瞬间下降13-17帧。 感觉很恐怖啊,如果我有6个Button,那么就会下降3帧左右。关键这是电脑上测试的情况,手...

来源: Laya_社区 发布时间: 20171102

3. [LayaAir3]3.3正式版在代码中对继承自UIComponent的UI组件设置disabled属性为报错 [ 88%]

[LayaAir3]3.3正式版在代码中对继承自UIComponent的UI组件设置disabled属性为报错 3.3正式版在代码中对继承自UIComponent的UI组件设置disabled属性为true后,再触发条件设置为false就会报错。 报错信息为: WebGLRenderContext2D.js:137 Uncaught TypeError...

来源: Laya_社区 发布时间: 20250804

4. 深入理解LayaAir引擎架构和实现原理(二)项目调试原理及完美开发调试方案 [ 81%]

...cation/chrome.exe", "runtimeArgs": [ "--allow-file-access-from-files", " --disable-web-security" ], "sourceMaps": true, "webRoot": "${workspaceRoot}", //假如谷歌调试报userDataDir不可用,请把谷歌安装路径取得管理员权限,或者更换${tmpdir}为其他可以读写的文件夹,...

来源: Laya_社区 发布时间: 20200918

5. https://ask.layabox.com/question/7441?column=log&rf=false [ 76%]

...sprite.visible=false的对像也统计进去了,网页端就没有问题 disabled=true后,如果增加on事件,再=false,事件没响应 Ignored attempt to cancel a touchmove event with cancelable=false Ignored attempt to cancel a touchmove event with cancelable=false state.clip.islooping = ...

来源: Laya_社区 发布时间: 20170921

6. 列表嵌套另外一个列表 [ 72%]

...e("hero")as Image;//根据名字查找要更改的单元格 hero.disabled = HostData.array[index].hero;//属性更改 var ani :Animation = cell.getChildByName("heroani") as Animation;//加载默认动画 if (ani){ ani.play(0,true,"standDown"+HostData.array[index].aninam...

来源: Laya_社区 发布时间: 20180522

7. Uncaught 无法实例class PhysicsCollider extends PhysicsTriggerComponent [ 69%]

...sionObject_forceActivationState(btColObj, PhysicsComponent.ACTIVATIONSTATE_DISABLE_SIMULATION);         var flags = bt.btCollisionObject_getCollisionFlags(btColObj);         if (this.owner.isStatic) {             if ((flags & PhysicsComponent.COLLISIONFLAGS_KINEMATIC_OBJECT) > 0...

来源: Laya_社区 发布时间: 20200505

8. 阻止点击穿透问题 [ 68%]

...发-程住气 赞同来自: 成功了。我的设置如图。 一定要将disable\mouseenable设置为false,,而不能选择默认。 不知道是不是坑,laya用的贼难受。   2020-01-09 0 1 分享 微博 QZONE 微信 SEVENTH_HEAVEN 赞同来自: 弹窗 mouseThrough = true   首先你得...

来源: Laya_社区 发布时间: 20180601

9. ui的BUG [ 68%]

ui的BUG ui编辑中,给按钮设置了disabled=true之后,在代码里面改为=false。按钮颜色可以恢复,但是鼠标事件仍然不可接受。 类库是1.8.6beta   附件 : --> 2019-12-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...

来源: Laya_社区 发布时间: 20191216

10. laya2.0用FlashDevelop调用编译,总是打开bin\h5\index.html [ 61%]

...[ "--allow-file-access-from-files", "--allow-file-access-frome-files", " --disable-web-security" ], "sourceMaps": false, "webRoot": "${workspaceRoot}", //假如谷歌调试报userDataDir不可用,请把谷歌安装路径取得管理员权限,或者更换${tmpdir}为其他可以读写的文件夹...

来源: Laya_社区 发布时间: 20181012