大约有 345 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0042 秒)
Laya_社区(272) Laya2.0_文档(21) Laya2.0_示例(10) Laya_示例(9) Laya3.0_文档(9) laya_api(8) Laya3.0_api(8) Laya2.0_api(8)
...件无法拖动,报如图错误 Ignored attempt to cancel a touchstart event with cancelable=false, for example because scrolling is in progress and cannot be interrupted. 附件 : --> 2017-03-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...
来源: Laya_社区 发布时间: 20170308
...ar sp = new Laya.Sprite(); var xhr = new Laya.HttpRequest(); xhr.once(Laya.Event.COMPLETE,this,completeHandler); xhr.once(Laya.Event.ERROR,this,errorHandler); xhr.send("res/monkey2.png","","get","arraybuffer"); function completeHandler(data){ //加载完成返回的data是arraybuffer; //.......这...
来源: Laya2.0_文档 发布时间: 20210715
... this.addChild(this.playAnim); this.playAnim.on(Laya.Event.COMPLETE,this,this.onPlayComplete); } onMouseMove():void{ //根据鼠标位移主角方法 this.hero.pos(Laya.stage.mouseX,Laya.stage.mouseY); } 2018-05-03 0 0 分享 微...
来源: Laya_社区 发布时间: 20180502
...tHeader('Content-Type','application/x-www-form-urlencoded'); xhr.once(Laya.Event.COMPLETE, this, this.completeHandler, [url, loader]); xhr.once(Laya.Event.ERROR, this, this.errorHandler); console.log("-----------------send------------------", url); xhr.send(url, "", "get", "arraybuffer"); 2018-07-04...
来源: Laya_社区 发布时间: 20180704
....json" at ChildProcess.exithandler (child_process.js:217:12) at emitTwo (events.js:106:13) at ChildProcess.emit (events.js:194:7) at maybeClose (internal/child_process.js:899:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5) killed: false, code: 1, signal: null, cmd: 'D:...
来源: Laya_社区 发布时间: 20190730
... Utils3D._createNodeByJson(this,json,this,innerResouMap); this.event("hierarchyloaded",[this]); this.__loaded=true; } 打了一个log,发现data[0]读取出来的结果是"{",也就是说data被按照字符串读取了,而不是数组。 /** *结束加载,...
来源: Laya_社区 发布时间: 20180101
...问题是因为没有资源也调用了加载完成, Laya.loader.on(Laya.Event.ERROR, this, this.onLibError); Laya.loader.load([{ url:com.globals.GameConfig.XML_LIB_URL, type:Loader.BUFFER }], Handler.create(this, this.onLibLoaded)); 资源是不存在的,然后还是调用了 this.onLibLoaded ...
来源: Laya_社区 发布时间: 20171102
...么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 S_eVent 相关问题 Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面没有使用命名空间类文件的定义!导致运行时 找不到类的定义!这是为什么? 已上传 Demo 附件 编译调试启动chr...
来源: Laya_社区 发布时间: 20230823
...何获取当前所有动画名称呢?或者所有的AnimationClip呢? Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 怎么获取对象的坐标 启动引擎报错 mPlugin.game_plugin_init(3); tree mouseHandler 怎么获取条目 问题状态 最新活动: 2018-06-14 09:27 浏...
来源: Laya_社区 发布时间: 20180516
...gameThirdScriptError (unknown) gameThirdScriptError Cannot read property 'events' of undefined TypeError: Cannot read property 'events' of undefined at Function.EventDispatcher.__init$ (http://127.0.0.1:52880/game/code.js:630:29) at http://127.0.0.1:52880/game/code.js:14:71 at Arra...
来源: Laya_社区 发布时间: 20180504