大约有 339 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0057 秒)
Laya_社区(266) 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
....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
...ar sp = new Laya.Sprite(); var xhr = new Laya.HttpRequest(); xhr.once(Laya.Event.COMPLETE,this,this.completeHandler); xhr.once(Laya.Event.ERROR,this,this.errorHandler); xhr.send("res/a.png","","get","arraybuffer"); } private completeHandler(data:Object):void{ //加载完成返回的data是arraybuffe...
来源: Laya2.0_文档 发布时间: 20210714
...nifests/vM7nH0Kl.m3u8');//加载m3u8源 hls.attachMedia(video); hls.on(Hls.Events.MANIFEST_PARSED,function():void{ video.play(); }); } plyr.setup(video); } } } ``` 编译运行代码,发现网页已经可以播放视频了。开发者可能注意到这里我们初始化引擎的时候是这样的...
来源: Laya2.0_文档 发布时间: 20210715
...问题是因为没有资源也调用了加载完成, 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
...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
... factory = new Templet(); factory.on(Event.COMPLETE, this, onSkeletonDataParsed); // factory.on(Event.ERROR, this, onError); // factory.parseData(texture, data, 60); factory.loadAni("res/Dragon.sk"); ...
来源: Laya_社区 发布时间: 20160902
...正常运行,为什么打包APK之后在手机上就连接不上socket event自定义事件的问题 打包出来后的APP打开加载速度过慢,有黑屏,如何加入闪屏图片 关于shader中opengl函数问题 1.8.4版本打包vivo小游戏,只有个temprelease graphics alpha 问题 ...
来源: Laya_社区 发布时间: 20180709
...么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 S_eVent 相关问题 Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面没有使用命名空间类文件的定义!导致运行时 找不到类的定义!这是为什么? 已上传 Demo 附件 编译调试启动chr...
来源: Laya_社区 发布时间: 20230823