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

大约有 2,541 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0065 秒)

2361. Oppo加载.ls资源错误 [ 47%]

... 07-11 16:53:45.927 30921-30972/? E/jswrapper: ERROR: Uncaught TypeError: "event.type" should be a string., location: (no filename):0:0 2019-07-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来...

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

2362. laya.d3.core.GlitterRender [ 47%]

....d3.coreClasspublic class GlitterRenderInheritanceGlitterRender BaseRender EventDispatcher Object ... Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By boundingBox : BoundBox[read-only] 获取包围盒,不允许修改其值。 BaseRender boundi...

来源: laya_api 发布时间: 20170929

2363. 内置骨骼动画 · LayaAir3.3 · 引擎文档 · LAYABOX [ 47%]

...,调用completeHandler继续播放下一个动画 this.mArmature.on(Laya.Event.STOPPED, this, this.completeHandler); this.play(); }); } private completeHandler(): void { this.play(); } //播放骨骼动画 private play(): void { //每次到下一个动画 this.mCurrIndex++; if (this.mCurrIndex &gt...

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

2364. 通过绘制纹理生成的图片,改变scale时会出现图片不绘制的情况 [ 47%]

...//每点一下就缩小0.05倍             Laya.stage.on(Laya.Event.MOUSE_DOWN,this,()=>{                 _picScale-=0.05;                 sp.scale(_picScale,_picScale);                 //缩小到0.7倍时,图片就不见了     ...

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

2365. 龙骨删除后内存不减少 [ 47%]

...请问下   let templet = new Laya.Templet();         templet.on(Laya.Event.COMPLETE, this, () => {             this.skeleton = templet.buildArmature(1);                          this.pos1.addChild(this.skeleton);             this.skeleton.play("work", true);     ...

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

2366. 一个简单的bug请官方人自己测试一下_带示例代码 [ 47%]

.../测试崩溃代码结束 }同样看看laya2.0的项目 onTipClick(e: Laya.Event): void { //测试崩溃代码 var a = undefined; var b = a.id; //点击游戏界面.虽然有报错,但是不会卡死游戏进程 //测试崩溃代码结束 }两种完全不一样的效果, 2.0不会卡死.. 这时你...

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

2367. 调用动画结束on方法,报错this.zombieAnimator.on is not a function [ 47%]

... as Laya.Animator;//获取Animator动画组件 this.zombieAnimator.on(Laya.Event.COMPLETE, this, this.onAniComplete); this.loadUI(); })); 附件 : --> Test.rar 2019-05-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个...

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

2368. [LayaAir3]插件开发中,我需要选择文件夹,如何可视化选择文件夹 [ 47%]

... name: "", inspector: "Buttons", options: { buttons: [{ caption: "生成", event: "click_start_gen" }] } } ] } ]); Editor.extensionManager.createSettings("SplitAtlasSetting", "project"); } } 2025-07-23 0 0 分享 微博 QZONE 微信 LayaAir小牛 赞同来自: 方法为Editor.showOpenDialog 2025-07-...

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

2369. 【字节小游戏】游戏中播放视频 [ 47%]

...a设置Video的位置,对齐的位置和refence重合 Laya.stage.on(Laya.Event.RESIZE, this, Laya.Utils.fitDOMElementInArea, [videoElement, reference, 0, 0, reference.width, reference.height]); } } new DOM_Video(); 2020-09-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

2370. 怎么获取手机相册内容 [ 47%]

...aAir下如何获取图集下的小图资源? 怎么获取对象的坐标 Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 问题状态 最新活动: 2018-05-29 20:11 浏览: 1177 关注: 2 人 Laya_Aaron • 2018-05-29 20:11 这是来自官网的文档,地址https://ldc.layabox.co...

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