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

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

441. parameter 2 is not of type 'WebGLTexture' [ 54%]

...ist on type 'typeof Laya' Spine 格式转换, Error: Invalid timeline type for a slot:twoColor XmlDom类没有了?解析xml时,报错Property 'attributes' does not exist on type 'Node & ChildNode'. 读URL parameter textinput(type=password)手机打开华为安全键盘后,无法关闭(官网...

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

442. 在Chrome下Layaair的List组件无法拖动,报如图错误 [ 54%]

...错误 Ignored attempt to cancel a touchstart event with cancelable=false, for example because scrolling is in progress and cannot be interrupted.   附件 : --> 2017-03-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 ...

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

443. ts继承后,代码压缩的问题 [ 54%]

...of Array && function(d, b) { d.__proto__ = b } || function(d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p] } ; return function(d, b) { extendStatics(d, b); function __() { this.constructor = d } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __) ...

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

444. 关于checkbox全选的问题 [ 54%]

... 2017-10-19 16:53 if(invite.cb_all.selected){ trace("全选"); for(var i:int=0;i<invite.inviteList.length;i++){ trace("{第 "+i+" 个}"); invite.inviteList.setItem(i,{selected:true}); } 是这么想的,但是不知道是不是写法不对,设置后无效 用invite.in...

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

445. 关于一个帧率性能的问题 [ 54%]

...比的是同一款游戏,实现方式不同而已。代码都很简单,for循环都很少,对象用Laya.Pool管理,cacheAs大的容器都用“bitmap”,静态动态对象分开挂了。但帧率就是没有提升,有没有针对Canvas的优化方法,文档没有提到的。

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

446. 无限循环滚动列表 [ 54%]

...t.viewWidth / 2;         var cnt = this._list.numChildren;         for (var i = 0; i < cnt; i++) {             var obj = this._list.getChildAt(i);             var dist = Math.abs(midX - obj.x - obj.width / 2);             if (dist > obj.width)                 ...

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

447. Unity导出插件Shader报错。 [ 54%]

...ex program with DIRECTIONAL SHADOWS_SCREEN LIGHTMAP_ON DisableLighting Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_COL...

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

448. 缓动动画(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 54%]

...串长度创建单个字符,并对每个单独字符使用缓动动画 for (var i:int = 0, len:int = demoString.length; i (动图2) 结合实例代码,然后通过图2的运动效果,我们可以看出,文本"Layabox"在初始位置(*y轴300*)出现之后,瞬间消失,然后从...

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

449. LayaAir和原生DOM交互(ActionScript-2D进阶篇(AS3)-扩展模块) [ 54%]

...rted()) { var hls:Object = new Hls(); hls.loadSource('http://content.jwplatform.com/manifests/vM7nH0Kl.m3u8');//加载m3u8源 hls.attachMedia(video); hls.on(Hls.Events.MANIFEST_PARSED,function():void{ video.play(); }); } plyr.setup(video); } } } ``` 编译运行代码,发现网页已经可以播...

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

450. 父元素,子元素,兄弟元素 [ 54%]

... let parent:Laya.Sprite = child.parent;//父 let len = parent.numChildren; for(var i = 0; i < len; i++){ let value = parent.getChildAt(i); if(value != child) { //兄弟 } else{ //自己 } } 2018-09-01 0 1 分享 微博 QZONE 微信 谢春 赞同来自: 可能你所说的是点击事件穿透问...

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