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

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

811. 初始化Laya3D.init()后设置横屏等,获取的Laya.state为null [ 53%]

...仍有几率会穿透 如何设置Sprite的宽高和点击区域? 如何判断横屏竖屏 关于同为object层,层级设置无效的问题 anchor锚点设置不生效 Laya3D里的material可以设置flat shading么 将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mouse...

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

812. List的selectHandler 点击同一个item只能触发一次回调 [ 53%]

...: 2 人 dz5566 • 2019-03-06 23:14 laya.ui.js改成这样即可,去掉判断if (this._selectedIndex !=value) __getset(0,__proto,'selectedIndex',function(){ return this._selectedIndex; },function(value){ //if (this._selectedIndex !=value){ this._selectedIndex=value; this.changeSelectStatus(); this...

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

813. Ignored attempt to cancel a touchmove event with cancelable=false [ 53%]

...件还可以执行 每次点击报下面的警告, 在源码里面加上判断后,     (e.cancelable) && (e.preventDefault()); 依然无法解决 Ignored attempt to cancel a touchmove event with cancelable=false, for example because scrolling is in progress and cannot be interrupte...

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

814. laya.d3.math.OrientedBoundBox [ 53%]

...oundBox 实例。 OrientedBoundBox  equals(obb:OrientedBoundBox):Boolean 判断两个包围盒是否相等 OrientedBoundBox  getCenter(center:Vector3):void 该包围盒的几何中心 OrientedBoundBox  getCorners(corners:Vector.<Vector3>):void 获取OBB包围盒的8个顶点。 OrientedB...

来源: laya_api 发布时间: 20170929

815. 执行了这个 Laya.timer.clear(this, this.onLoop);还是会继续执行onLoop [ 53%]

...别的,然后返回5,结果就导致了我在onLoop打印1之前做的判断,if(typeof(this.obj) == "undefined") return;没有效果,导致在执行5的时候用undefined调用函数报错。 Prajna • 2018-04-12 09:33 请问,为什么会出现这种情况?onLoop函数不是...

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

816. Laya2.0 beta3 Animator 中的 on 事件 怎么没了 [ 53%]

...ate(0)._normalizedTime))>0.5) 根据动画当前播放的百分比进行判断 2018-10-25 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 维航 相关问题 分享:自定义事件派发与侦听(A页面派发 B页面侦听) Text...

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

817. 是否支持条件编译? [ 53%]

...nica • 2017-11-20 19:21 @lilynumber1:那就没有接口了,你自己写判断吧... lilynumber1 • 2017-11-21 11:39 @Monica:你的意思是如果用FB或者FD能实现条件编译? Monica • 2017-11-21 11:57 @lilynumber1:http://blog.csdn.net/gzylongxi ... 52481 lilynumber1 • 2017-11-21 12:...

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

818. SpineSkeleton3.8.loadAni如果加载失败一定会引发LAYA底层报错 [ 53%]

...     if (this.assetManager.isLoadingComplete()) { //这里应该先判断加载是否成功,否则失败了也会满足条件                 this.parseSpineAni();//在处理失败资源会报错                 return;             }       ...

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

819. 官房的示例发布成微信小游戏,微信模拟器可以运行,真机就一致黑屏,什么原因呀 [ 53%]

...版本是否匹配,还有其他的一些原因,只是描述现象无法判断的 2019-02-13 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 郭强 相关问题 关于微信小游戏关系链的问题 微信关系链:LayaAir引擎针...

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

820. Ignored attempt to cancel a touchmove event with cancelable=false [ 53%]

...以执行 每次点击报下面的警告, 在laya.core源码里面加上判断后,     (e.cancelable) && (e.preventDefault()); 依然无法解决 Ignored attempt to cancel a touchmove event with cancelable=false, for example because scrolling is in progress and cannot be interrupte...

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