大约有 3,645 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0069 秒)
Laya_社区(3544) Laya2.0_文档(31) Laya3.0_文档(17) Laya3.0_api(12) Laya2.0_示例(12) Laya_示例(11) laya_api(9) Laya2.0_api(9)
...提交,因违反苹果3.1.1导致APP上架被拒的说明 Ts 编辑提示error TS5023: Unknown option 'p' 用了第三方socket类 项目在IDE上可以连接正常运行,为什么打包APK之后在手机上就连接不上socket 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1....
来源: Laya_社区 发布时间: 20180808
TypeError: Failed to execute 'texImage2D' on 'WebGLRenderingContext' 使用1.7.15或16,在项目总增加如下几句,在layaAir内测试可以正常(以下资源是拷贝自GitHub上官网的范例包下的资源: // 创建天空盒 var skyBox:Laya.SkyBox = new Laya.SkyBox(); //清除标...
来源: Laya_社区 发布时间: 20180307
...andler.create(this, this.updatePosition), Laya.Handler.create(this, this.onError)); // 绑定convertToBaiduCoord作用域 this.convertToBaiduCoord = this.convertToBaiduCoord.bind(this); } } new WatchPosition(); ``` 由于本例不需要使用LayaAir的显示元素,因此舞台尺寸设置为1...
来源: Laya2.0_文档 发布时间: 20210714
...andler.create(this, this.updatePosition), Laya.Handler.create(this, this.onError)); // 绑定convertToBaiduCoord作用域 this.convertToBaiduCoord = this.convertToBaiduCoord.bind(this); } } 由于本例不需要使用LayaAir的显示元素,因此舞台尺寸设置为1。百度地图界面的初始...
来源: Laya3.0_文档 发布时间: 20251010
...mber[]) { if (points.length < 4 || points.length % 2 !== 0) { throw new Error("At least two points (four numbers) are required, and the total number of values must be even"); } this.points = points; } private static distance(x1: number, y1: number, x2: number, y2: number): number { let dx = x2-x1...
来源: Laya_社区 发布时间: 20241008
...ther 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 Scene.__proto.onAsynLoaded (http://127.0.0.1:62629/game/code.js:81644:10) at ResInfo.onLoaded (http://127.0.0.1:62629/game/cod...
来源: Laya_社区 发布时间: 20180323
...这两个,但是会报 ld: library not found for -lJavaScriptCore clang: error: linker command failed with exit code 1 (use -v to see invocation)。 helloworldlv • 2018-03-21 11:00 build settings /other linker flag 里面把删的库删掉 helloworldlv • 2018-03-21 11:03 如果再报错在buil...
来源: Laya_社区 发布时间: 20180225
... 使用box2d物理系统 在destory被collider绑定的sprite时会报错 Error preload.js:55 at Object.box2d.b2Assert (file:///D:/develop/layaspace/smallballs/bin/libs/laya.physics.js:38:57) at box2d.b2World.DestroyJoint (file:///D:/develop/layaspace/smallballs/bin/libs/laya.physics.j...
来源: Laya_社区 发布时间: 20181106
...dler); this.socket.on(Event.CLOSE,this,closeHandler); this.socket.on(Event.ERROR,this,errorHandler); } public function connect():void { if(!this.socket.connected){ this.socket.connectByUrl("ws://127.0.0.1:9000");//建立连接; } } public function send(msg:String):void { if(this.socket.connected){...
来源: Laya_社区 发布时间: 20180202
...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