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

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

51. List 组件做的手风琴Demo [ 74%]

....y =index*30;             //显示图片          img2.visible =true;           }else         {         // 大于点击索引时 所有的Box的y轴都要多加上当前多显示图片的高度50            if(this.index_num<index)     ...

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

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

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

53. Quick Compile: false [ 74%]

...7 版本,LayaNative下面 Stat统计的sprite数量不准,误将sprite.visible=false的对像也统计进去了,网页端就没有问题 ide compile的时候不会启动一个本地服务器吗? Dialog 设置closeDialogOnSide = false 没效果 Laya.stage.renderingEnabled = false; 调用时...

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

54. 图片显示异常 [ 74%]

...push({ gameName: { text: item.name }, gameIcon: { skin: item.pic }, hot: { visible: hotShow }, new: { visible: newShow }, name: JSON.stringify(item) }); }) // console.log("表的数据:", JSON.stringify(data)); listNode.array = data; } 2020-08-05 0 2 分享 微博 QZONE 微信  赞同来自: ...

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

55. 2.2.0 stat sp统计 [ 73%]

...是 2019-10-10 0 0 分享 微博 QZONE 微信 林龙 赞同来自: 2.2.0  visible = false, sprite 不会降低了? 2019-10-10 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 空气看不见 和真空 的分子数也不一样呀, 统计的是stage上的sprite 和能不能看见有关系...

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

56. 定时器 · LayaAir3.0文档 · LAYABOX [ 73%]

...his.hideImage); } hideImage(): void { console.log("hideImage"); this.Image.visible = false; } } 5. 清理定时器 Laya.timer.clear:清理指定的定时器。定义如下: /** * 清理定时器。 * @param caller 执行域(this)。 * @param method 定时器回调函数。 */ clear(caller: any, ...

来源: Laya3.0_文档 发布时间: 20230724

57. 在list的data中给HTMLDIVElement 的innerHTML赋值不成功 [ 72%]

...8;font-size:20px;">'+"fgdfdfgdfgdfgdf"+'</span>'}, visible:true }; if(chatListData[i].state==0){ arr.push({ friends:obj, my:{visible:false} }); }else{ arr.push({ my:obj, friends:{visible:false} }); } } chatList.array=arr; } 130*****113 • 2018-03-22 20:45 谢谢各位大神

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

58. 为什么hitTestPoint始终是false[ 72%]

...7 版本,LayaNative下面 Stat统计的sprite数量不准,误将sprite.visible=false的对像也统计进去了,网页端就没有问题 Ignored attempt to cancel a touchmove event with cancelable=false Ignored attempt to cancel a touchmove event with cancelable=false state.clip.islooping = fa...

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

59. TiledMap销毁的问题,TiledMap销毁后屏幕变灰,不能显示 [ 72%]

...性 */ public function clearAll():void { if (_map) { _map = null; } this.visible = false; //aniSpriteArray为空的时候,导致自己没有被销毁,直接return了 if (aniSpriteArray == null) { return; } var tAniSprite:TileAniSprite; for (var i:int = 0; i < aniSpriteArray.length; i++) { tAn...

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

60. laya.display.Text [ 71%]

...ng overflow 指定文本超出文本域后的行为。其值为"hidden"、"visible"和"scroll"之一。 性能从高到低依次为:hidden > visible > scroll。 Text  padding : Array 边距信息。 数据格式:[上边距,右边距,下边距,左边距](边距以像素为单位...

来源: laya_api 发布时间: 20170929