大约有 105 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0038 秒)
...tObject:*, srcRoot:Node, dstRoot:Node):void[override] 克隆。 Sprite3D _parse(data:Object, spriteMap:Object):void[override] Sprite3D _parse(data:*, propertyParams:Object = null, constructParams:Array = null):Sprite3D[static] private Sprite3D _setBelongScene(scene:Node):void[override] Renderab...
来源: Laya2.0_api 发布时间: 20190513
...,代码如下: ```javascript if( window.conch ) { var devInfo = JSON.parse(window.conch.config.getDeviceInfo()); if (devInfo.devicename === 'iPhone10,3' || devInfo.devicename === 'iPhone10,6') { // iPhone X适配 } } ``` ## 10. 线程模式 LayaNative2.0支持JavaScript脚本逻辑和渲染逻...
来源: Laya2.0_文档 发布时间: 20210715
...status < 300) { const responseText = yield response.text(); return JSON.parse(responseText); } else { const errorResponse = yield response.text(); throw new HttpException( `HTTP ${response.status}: ${errorResponse}`, response.status, errorResponse ); } } catch (error) { if (error instanceof HttpE...
来源: Laya_社区 发布时间: 20251115
...ew Byte(data); str = bytes.readUTFBytes(bytes.length); loader.endLoad(JSON.parse(str)); 完美绕过引擎编码限制 2018-06-22 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 熊猫大侠 相关问题 2.0一不小心删了bin目录...
来源: Laya_社区 发布时间: 20180108
...let.loadAni(this.aniPath); this.templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.templet.on(Laya.Event.ERROR, this, this.onError) } private parseComplete(): void { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleton.pos(Laya.Browser.width / ...
来源: Laya2.0_文档 发布时间: 20210715
....templet.loadAni(this.aniPath); this.templet.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...
来源: Laya2.0_文档 发布时间: 20210715
...ya.ani.js(IDE 2.0.0版本)的4827行左右的Templet类的onComplete及parseData方法中设置this._path的位置处对_path进行路径过滤,去掉它内部包含URL.basePath的部分 __proto.onComplete=function(content){ if (this._isDestroyed){ this.destroy(); return; }; var tSkBuffer=Load...
来源: Laya_社区 发布时间: 20190419
...() { return __awaiter(this, void 0, void 0, function* () { let json = JSON.parse(fs.readFileSync("outConfig.json")); this.BaseURL = emiter_1.emiter.BaseURL = json.from; this.outfile = json.out; this.createAS = json.createAS; this.layajsURL = json.layajsURL; this.tsCongfig = json.tsConfig; this.filte...
来源: Laya_社区 发布时间: 20200925
...tObject:*, srcRoot:Node, dstRoot:Node):void[override] 克隆。 Sprite3D _parse(data:Object, spriteMap:Object):void[override] Sprite3D _parse(data:*, propertyParams:Object = null, constructParams:Array = null):Sprite3D[static] private Sprite3D _setBelongScene(scene:Node):void[override] Renderable...
来源: Laya2.0_api 发布时间: 20190513
...!!!") var str:String=event.target.data; var jsonObject:Object=JSON.parse(str); trace(jsonObject.status); trace(jsonObject.message) } protected function progressEventHandler(event:ProgressEvent):void { // TODO Auto-generated method stub trace("正在加载"); } protected function openHandler(ev...
来源: Laya_社区 发布时间: 20151217