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

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

31. TypeError: relativePath is undefined [ 65%]

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

32. Resources already exist,is repeated loading 加载特效报重复加载 [ 65%]

...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

33. ReferenceError: Laya3D is not defined? [ 65%]

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

34. 新手,从unity导出地形的问题 [ 64%]

...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

35. 示例 骨骼动画换装 加不上点击事件 [ 64%]

...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

36. Spine适配版(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 62%]

...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

37. laya.net.Socket [ 60%]

...子协议,连接才能建立成功,否则建立失败,派发 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

38. laya.net.Socket [ 59%]

...子协议,连接才能建立成功,否则建立失败,派发 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

39. 微信小游戏运行导出项目的时候报错:Scene: the .lh file root type must be Scene [ 52%]

... 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

40. 引擎 TiledMap 居然不支持图块翻转 [ 50%]

...          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