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

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

71. 这是图文混排谷歌浏览器查看正常打包后的APP文字消失表情变大 [ 69%]

...Num.index = seat - 1; } else { div.style.color = "#000000"; paopao.seatNum.visible = false; paopao.seatBg.visible = false; paopao.imgSayBg.skin = "res/room/othersay.png"; paopao.imgJudge.visible = true; } paopao.imgSayBg.addChild(div); gRoomView.chatBox.addChild(paopao); //更新高度 gRoomView.cha...

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

72. MovieClip卸载不掉,有内存泄漏 [ 69%]

... (--n > 0) { let mov0 = this["item" + n] as MovieClip; if (mov0) { mov0.visible && (mov0.visible = false); mov0.playing && mov0.stop(); mov0.parent && mov0.parent.removeChild(mov0); mov0.destroy(true); delete this["item" + n]; } } } 2018-10-25 添加评论 已悬赏1元 --...

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

73. laya.map.GridSprite_API3.0 [ 69%]

...ollRect skewX skewY stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addAniSprite addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearAll clearTimer contains customRender destroy destroyChildre...

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

74. Texture内存回收(ActionScript-2D进阶篇(AS3)-性能优化) [ 68%]

...vate function onKeyDown(e:Event):void { if (e.keyCode === Keyboard.H) { sp.visible = false; //隐藏界面,清理资源 Laya.loader.clearTextureRes("res/bg.jpg"); Laya.loader.clearTextureRes("res/fighter.atlas"); } else if (e.keyCode === Keyboard.S) { //显示界面,资源会自动恢复 sp.visi...

来源: Laya2.0_文档 发布时间: 20210714

75. Texture内存回收(ActionScript-2D进阶篇(AS3)-性能优化) [ 68%]

...vate function onKeyDown(e:Event):void { if (e.keyCode === Keyboard.H) { sp.visible = false; //隐藏界面,清理资源 Laya.loader.clearTextureRes("res/bg.jpg"); Laya.loader.clearTextureRes("res/fighter.atlas"); } else if (e.keyCode === Keyboard.S) { //显示界面,资源会自动恢复 sp.visi...

来源: Laya2.0_文档 发布时间: 20200929

76. 如何操作剪贴板 document.execCommand('copy') 返回false [ 68%]

...7 版本,LayaNative下面 Stat统计的sprite数量不准,误将sprite.visible=false的对像也统计进去了,网页端就没有问题 无法对载入的材质操作。sharedMaterials的length为0 dialog通过UIConfig设置UIConfig.closeDialogOnSide = false后,点击外面依旧会关闭...

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

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

...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

78. laya.physics.PhysicsDebugDraw_API3.0 [ 68%]

...ollRect skewX skewY stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToT...

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

79. laya.map.TileAniSprite_API3.0 [ 68%]

...ollRect skewX skewY stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearAll clearTimer contains customRender destroy destroyChildren drawToCanva...

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

80. laya.ui.DialogManager_API3.0 [ 68%]

...ollRect skewX skewY stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer close closeAll closeByGroup contains customRender destroy destroyC...

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