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

大约有 27 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0043 秒)

1. ls场景文件通过Laya.loader.create()预加载后stage.destroyChildren()出现异常Cannot read property 'visible' of null [ 100%]

...eate()预加载后stage.destroyChildren()出现异常Cannot read property 'visible' of null   附Demo。   想做不同场景之间的切换。 spriteBtn.on(Laya.Event.CLICK, this, function (e) { Laya.stage.destroyChildren(); newScene(); });问题:LayaAirUnityPlugin 1.1.0导出了 ls 场景文...

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

2. 为啥我在批量removeself 会报错卡死 [ 76%]

...Img != null) { selectImg.removeSelf(); } this.mouseEnabled = true; if(this.visible == false) { this.visible = true; } super.removeSelf(); if(itemCountTx != null) { itemCountTx.removeSelf(); } return this; }   2017-11-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

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

3. 2d项目RenderSprite3D出错,laya1.7.16 [ 75%]

...enderSprite3D出错,laya1.7.16 Uncaught TypeError: Cannot read property 'visible' of null TypeError: Cannot read property 'visible' of null at RenderSprite3D.__proto._childs (http://xxxx/game/bin/h5/Main.m ... 576:30) at Sprite.__proto.render (http://xxxx/game/bin/h5/Main.m ... 575:43) at RenderSp...

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

4. 3D场景资源释放 [ 75%]

...毁的场景再次被加载的时候,报错了。Cannot read property 'visible' of null Monica • 2017-09-09 19:19 @jison_ailin:麻烦上传一个例子,我们看下你这边是怎么写的。谢谢! jison_ailin • 2017-09-11 10:59 @Monica: 这个是附件链接 https://ask.layabox.com/questio...

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

5. laya.ui.Radio_API3.0 [ 72%]

...cCache strokeColors texture timer toolTip top transform url value viewport visible width x y zOrder Methods _initialize _processActive _setHeight _setSkin _setWidth addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destro...

来源: Laya3.0_api 发布时间: 20231115

6. laya.ui.Button_API3.0 [ 72%]

... staticCache strokeColors texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive _setHeight _setSkin _setWidth addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destro...

来源: Laya3.0_api 发布时间: 20231115

7. laya.ui.CheckBox_API3.0 [ 71%]

... staticCache strokeColors texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive _setHeight _setSkin _setWidth addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destro...

来源: Laya3.0_api 发布时间: 20231115

8. 进度条滚动无效【已解决】 [ 71%]

...00; this.tips.text="游戏加载完毕,即将进入游戏..." this.panel.visible=false; this.gobtn.visible=true; }else { this.pro.value=progress/100; this.tips.text="游戏正在加载中,当前进度为:"+progress+"%!" } } 2018-01-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...

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

9. 列表嵌套另外一个列表 [ 70%]

...经拥有的text显示状态 if (own){ if(HostData.array[index].lock){ own.visible = false; }else{ own.visible = true; } } var lock :Button = cell.getChildByName("lock") as Button; if(lock){ lock.visible = HostData.array[index].lock;//默认角色购买锁定状态赋值 lock.disabled =Hos...

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

10. 关于3D场景资源释放问题 [ 69%]

...景被再次加载,会报错。Uncaught TypeError: Cannot read property 'visible' of null 附件是一个实例。 附件 : --> TestTriFaces.zip 2017-09-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica -...

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