大约有 42 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0038 秒)
TypeError: relativePath is undefined 文档 --> 扩展模块 --> 用LayaAir引擎解析Tiled Map地图 我的代码完全是复制的,一个字都不差 但是运行之后报错:TypeError: relativePath is undefined 文档传送门:https://ldc.layabox.com/doc/?nav=zh-js-3-4-0 2017-12-05 ...
来源: Laya_社区 发布时间: 20171205
...ng: D:/myLaya/myLaya/bin/res/threeDimen/particle/2d.lh laya.core.js:16639 [error]Failed to load: null 为什么加载自己从unity导出的特效会报已经存在不能重复加载?从打印的1111来看加载方法只调用过一次,但是用官方给的特效就不会报错 particleNew.part ...
来源: Laya_社区 发布时间: 20190509
ReferenceError: Laya3D is not defined? 我按着官方实例写的,为什么老是提示我没有定义场景? ReferenceError: Laya3D is not defined preload.js:55 at new HelloWord3D (file:///E:/LayaWorkSpace/HelloWord3D1/bin/js/bundle.js:26:9) at Object.1 (file:///E:/LayaWorkSpace/He...
来源: Laya_社区 发布时间: 20190308
...OPERATION: useProgram: program not valid [.Offscreen-For-WebGL-00615668]GL ERROR :GL_INVALID_OPERATION : glDrawElements: attempt to access out of range vertices in attribute 0 很多错误 2017-12-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20171205
...let(); mFactory.on(Event.COMPLETE, this, parseComplete); mFactory.on(Event.ERROR, this, onError); mFactory.loadAni(mAniPath); } function onError() { console.log("error"); } function parseComplete() { //创建模式为1,可以启用换装 mArmature = mFactory.buildArmature(1); mArmature.x = 300; mA...
来源: Laya_社区 发布时间: 20170818
...emplet.on(Event.COMPLETE, this, this.parseComplete); this.templet.on(Event.ERROR, this, this.onError) } private function parseComplete(): void { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleton.pos(Browser.width / 2, Browser.height / 2 + 100); this.skel...
来源: Laya2.0_文档 发布时间: 20210715
...子协议,连接才能建立成功,否则建立失败,派发 Event.ERROR 事件。 SocketPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By Socket(host:String = null, port:int = 0, byteClass:Class = null) 创建新的 Socket 对象。默认字节序...
来源: laya_api 发布时间: 20170929
...子协议,连接才能建立成功,否则建立失败,派发 Event.ERROR 事件。 SocketPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By Socket(host:String = null, port:int = 0, byteClass:Class = null, protocols:Array = null) 创建新的 Socket ...
来源: Laya2.0_api 发布时间: 20190513
... function to load this file.;at api readFile success callback function Error: Scene: the .lh file root type must be Scene,please use other function to load this file. at MyScene.__proto.onAsynLoaded (http://127.0.0.1:59022/game/code.js:81644:10) at ResInfo.onLoaded (http://127.0....
来源: Laya_社区 发布时间: 20180317
... if (tSrcNum < 0) { console.log("[error]path does not exist", this._pathArray, tImageArray, resPath, relativePath); } for (i = 0; i < tSrcNum; i++) { if (i == 0) { tR...
来源: Laya_社区 发布时间: 20220627