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

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

371. [LayaAir3]3.2spine动画和3.0.8效果不一样 [ 60%]

...时会报错是什么原因的 sha3.ts:210 Uncaught TypeError: ft is not a function at node_modules/@noble/hashes/esm/sha3.js (sha3.ts:210:43) at bundle-f6bf8.js:1:232 at node_modules/viem/_esm/utils/hash/keccak256.js (bundle-f6bf8.js:1:21864) at bundle-f6bf8.js:1:232 at encodeEventTopics.ts:25:1 at...

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

372. 加载一个xml后,怎么解析里面的值 [ 60%]

...parseXMLFromString(data); 报错Uncaught TypeError: value.replace is not a function at Function.Utils.parseXMLFromString (dsgame.max.js:9485) cuixueying • 2017-03-21 16:00 可以把你可运行的例子以附件的方式上传下,我们看下什么问题!

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

373. 多个模块之间相互嵌套import,导致运行报错 [ 60%]

...oid { let self = this; let cat = new Cat(); cat.Create(); cat.on('attack', function () { self.Change(); }); this.animals.push(cat); }   2019-02-26 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 karin666 相关...

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

374. HIERARCHY_LOADED函数不回调 [ 60%]

...sform.setTranslate(500,500); this.sceneP.once(Event.HIERARCHY_LOADED, this,function():void{ console.error("改变大小"); this.sceneP.transform.localScale = new Vector3(3, 3, 3); this.sceneP.transform.localPosition = new Vector3(100, 100, 100); }); 2018-03-27 添加评论 免费帖 --> 分享 微...

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

375. Cannot read property 'toDefault' of undefined报错是什么原因 [ 60%]

...如下:Laya.class(MousePickingScene, "MousePickingScene", Laya.Scene); function MousePickingScene() { MousePickingScene.super(this); this.camera = new Laya.Camera(0,0.1,100); this.addChild(this.camera); this.camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; this.skyBox = new Laya.SkyBox(); this.ca...

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

376. Http回调是抢占式的吗? [ 60%]

... 网络send 不回调?什么情况? 执行回调函数时报is not a function Skeleton 类播放完成一遍后有没事件或者回调 Tween的to方法完成缓动后的回调怎么写,Tween.to(beginbox,{x:-Laya.Browser.width},1000,null,aaa,0,false);aaa是一个测试方法 Laya.loader.create...

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

377. 报错了没搞懂 [ 60%]

报错了没搞懂 this.getchildByName is not a function 附件 : --> 2017-11-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 ymsdandan 赞同来自: getchildbyname只能通过他的父节点来获取 2017-11-2...

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

378. 如何退出程序 [ 60%]

...请检查后重新编译。 导微信小程序报错window.focus is not a function 微信小程序canvas如何使用layaAir引擎 打包android版本 点击返回键会提示“再次点击后退键退出游戏”,如果去掉这个提示 请问layaair2.0-js 怎么用程序在list中添加多元...

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

379. /*[STATIC SAFE]*/ [ 60%]

...布,static方法拿取不到。报错:类名.静态方法名 is not a function 问题状态 最新活动: 2018-03-12 18:26 浏览: 608 关注: 2 人 cllc55 • 2018-03-13 09:41 就是要处理才问,每次脚本发布的和本机ide发布的都不同,冲突处理很麻烦 Laya_Aaron • 2018...

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

380. Laya.loader.getRes [ 60%]

Laya.loader.getRes Laya.loader.getRes会报错,uri.indexof is not a function错误.代码如图所示 附件 : --> 2020-03-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 awua 赞同来自: 你这个url就是...

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