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

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

341. 3.0 SK骨骼回调方法无法进入 [ 60%]

...。 2023-02-07 0 1 分享 微博 QZONE 微信 layabox小高 赞同来自: this._complete = complete;引擎中此方法未能成功注册,不能完成回调导致的,已记录,感谢反馈。 2023-02-07 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请...

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

342. .ani文件能预加载吗? [ 60%]

...on("ani/TX001.ani"); //动画播放完的事件 ani.on(Laya.Event.COMPLETE,this,(ani:Animation)=>{ ani.removeSelf(); ani.destroy(); },[ani]); ani.play(0,false); 2018-06-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 ...

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

343. drawToCanvas无法释放内存 [ 60%]

drawToCanvas无法释放内存 Laya.stage.frameLoop(1, this, ZX);function ZX():void{ var tex:Texture=new Texture(sp.drawToCanvas(sp.width,sp.height,0,0))             sp.graphics.clear()             sp.graphics.destroy()             tex.destroy()         ...

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

344. 音乐文件能预加载吗 [ 60%]

...载type是Loader.SOUND Laya.loader.load("xxx/xxx/xxx.mp3", Handler.create(this, onLoaded),null,Loader.SOUND);   2018-04-09 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 apmhot 相关问题 2.0一不小心删了bin目录下的某个场...

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

345. TS setExternalLinkEx問題 [ 60%]

...owser.window.conch.showAssistantTouch(false); window.requestAnimationFrame(this.render); console.log("mobile device"); if(Browser.window.conch){ var l = 50; var t = 50; var w = window.innerWidth-l*2; var h = window.innerHeight-t*2; Browser.window.conch.setExternalLinkEx('http://www.layabox...

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

346. layacmd mac 系统安装不上,急 [ 60%]

...pm ERR! npm ERR! Failed at the electron@1.8.6 postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /var/root/.npm/_logs/2018-05-08T04_07_13_726Z-debug.log   环境: mac...

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

347. 微信小程序里加载json文件 [ 60%]

...载json文件:   Laya.loader.load("json/dropData.json",Handler.create(this,readJsonFinish3) ,null,Loader.JSON );     然后报错:   排除法处理了下,发现是json里有中文的原因。这个微信小程序怎么读取有中文的配置的json啊? 附件 : --> 2018-05-19 1 条评...

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

348. 引用第三方JS模块 · LayaAir3.0文档 · LAYABOX [ 59%]

..., 1, 0, 1, 0, 1, 0], [0, 0, 0, 0, 1, 0, 1, 0], [0, 0, 1, 0, 0, 0, 0, 0] ]; this.aStarInstance = new AStarFinder({ grid: { // 列主序矩阵 matrix: myMatrix } }); let startPos = { x: 0, y: 0 }; let goalPos = { x: 7, y: 7 }; let myPathway = this.aStarInstance.findPath(startPos, goalPos); console.log...

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

349. 读取json对象 [ 59%]

...Array();             Laya.loader.load("test.json", Handler.create(this, onLoaded), null, Loader.ATLAS);             //var json:JSON = Loader.getRes("test.json");             //trace(json);         }                      function onLoaded():void {    ...

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

350. ts如何通过文件集加载的方法预加载声音文件,然后再调用 [ 59%]

...取。 Laya.loader.load([{url:"xxx.mp3",type:Loader.SOUND}],Handler.create(this,onComped)) 2016-12-13 1 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 feini 相关问题 两个对象new了一个相同的对象,调用第一个的一个方...

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