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

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

451. spine 播放错乱 [ 59%]

...n(Laya.Event.STOPPED, this, this.play); this.play(); } private onError() { console.error("load spine error"); } private play(): void { console.log("1111111111"); if (++this.index >= this.skeleton.getAnimNum()) { this.index = 0; } this.skeleton.play(this.index, false, true); }   正常示例   ...

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

452. 如何获取动画的长度? [ 59%]

..., Laya.Handler.create(this, () => { var bounds = tl.getGraphicBounds(); console.log(bounds.width) }, [tl]));   还是0 2018-01-24 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 hill_0219 相关问题 请问有没有方法能够获取...

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

453. Laya3D场景加载问题 [ 59%]

...         var camera = scene.getChildByName("Main Camera");         console.log("test====================:" + Laya.version)     } }   问题一:          小米note3:正常          华为p30:报错             问题二:          摄像机在场景中导出了,...

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

454. EventDispatcher.hasListener问题 [ 59%]

....test2); e.off("test", this, this.test1); e.off("test", this, this.test2); console.log(e.hasListener("test")); ---------------------------------------- 输出:true   2018-04-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 ...

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

455. Native window.onError 信息不全 [ 59%]

...关问题 使用TTF字体显示不全,下部分被截掉 laya如何重写console.log 打印错误跟信息到自己写的日志面板上 富文本中泰语显示不全 Native 在iOS上支付失败的问题,及临时解决方法 LayaBox 出错啦,请把此信息截图给研发商 SimpleSingletonL...

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

456. 如何阻止Event.MOUSE_DOWN的事件冒泡? [ 58%]

..._DOWN的事件冒泡? btn.on(Event.MOUSE_DOWN, this, function(e) {     console.log("被点击");     e.stopPropagation(); });   我这样并不能阻止到Laya.stage绑定的事件 2017-03-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

457. Laya.Handler.create 回调 在魅族平台不触发 [ 58%]

...发 Laya.loader.create(res2[i], Laya.Handler.create(this, () => { console.log('触发回调') } 2020-12-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折叠 要回复...

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

458. Layaair剪切unity动画片段 [ 58%]

... 151*****724 • 2019-11-27 15:38 没有啥原因啊,就是clip为空,console.log出来就是空的

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

459. 请问,如何获得StandardMaterial,为什么transformUV始终是null [ 58%]

...为什么transformUV始终是null var material = mesh.meshRender.material; console.log(material.transformUV); 2017-11-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 ymsdandan 赞同来自: 有没有可能是你...

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

460. 关于ui的延迟计算 [ 58%]

...idth = NaN; label.text = "set the label width to NaN before set text pro"; console.log(label.width); 在ui里可以不设置Label对象的wdith属性达到自适应宽度的效果(不设置属性不等于设置属性为0) 2018-05-22 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复...

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