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

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

841. Slider 控件源码逻辑异常 [ 57%]

...了,bug已修复,等待下次发版,或您手动修复一下。   if (this._max >= this._min) {             this._value = this._value > this._max ? this._max : this._value < this._min ? this._min : this._value;         } else {             //当设置的最小值大...

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

842. 组件Clip(play方法的bug) [ 57%]

...1 个回复 朱峰 赞同来自: __proto._loop=function(){         if (this._style.visible && this._sources){             this._index++;//这里又++   2018-11-30 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起...

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

843. 玩一玩不能获取到正确读取像素图 [ 57%]

...Laya.Texture = Laya.loader.getRes("res/Arrou_NavMap.png") as Laya.Texture; if(navTexture != null) { let pixelBuffer = navTexture.getPixels(0, 0, navTexture.width, navTexture.height);        Texture在玩一玩上获得的像素都是0,在其它地方都是对的。 附件 : --> ClientTest.zip...

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

844. 调用Laya.Geolocation,程序卡死 [ 57%]

调用Laya.Geolocation,程序卡死 if (!Laya.Geolocation.supported) { console.log(11) this.txt.text = "11"; }else{ console.log(3333) this.txt.text = "22"; } 代码运行到这里就不往下运行 了,控制台也不输出,什么问题? 2018-03-14 添加评论 免费帖 --> 分享 微博 Q...

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

845. list如何在回弹的时候添加一个回调 [ 57%]

...调,如果你是想监听list列表滑到了最底部,可以判断下if(list.scrollBar.value==list.scrollBar.max) 2017-03-24 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 lrx0326 相关问题 两个对象new了一个相同的对象...

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

846. 一个关于List赋值渲染的问题 [ 57%]

...个不用担心,在使用的时候只需要判断下item不为null即可 if(item) {   trace("执行的方法") } 2016-10-14 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Charles 相关问题 两个对象new了一个相同的...

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

847. 有些方法是不是要更新了 [ 57%]

... removed in M64, around January 2018. Please use setTargetAtTime() instead if smoothing is needed. See https://www.chromestatus.com/f ... 29152 for more details. 2017-12-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个...

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

848. laya有条件编译的功能吗? [ 57%]

...a有条件编译的功能吗? laya  as3项目,有没有类似VS里面#if DEBUG   #endif  这类的条件编译功能?   因为想在开发时对一些函数多做一些检查  方便打印出详细错误信息 而发布版本要去掉这些代码,避免性能消耗 2018-02-06 添加评...

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

849. 龙骨动画播放感觉少了纹理 [ 57%]

...eleton:Laya.Skeleton = templet.buildArmature(0); bone.skeleton = skeleton; if(bone.isRever) { bone.skeleton.scaleX = -1; } bone.addChild(skeleton); skeleton.on(Laya.Event.STOPPED, this, this.playCom, [bone]); skeleton.play(bone.direction, false);     播放方式就和官方的一样  或者说...

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

850. [LayaAirIDE3]Panel会使HSlider的拖拽结束检测事件失效 [ 57%]

...utton;         console.log("sliderButton:", sliderButton);         if (sliderButton) {             sliderButton.on(Laya.Event.MOUSE_UP, this, () => {                  console.log("滑块按钮拖拽结束");             });         } HSlider是Panel的子物体,...

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