大约有 171 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0038 秒)
....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
...!!!") 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
...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
... this._frw.read('head.json', 'utf8', true) as string; let localHead = JSON.parse(localHeadStr) as RootDesc; await this._gitfs.setRoot(localHead.root); } catch (e) { } } 实际使用的时候,还要自己实现版本管理,界面,下载进度提示等功能。为了实现这些功能可能需...
来源: Laya3.0_文档 发布时间: 20241024
...onShapeChange(colShape:ColliderShape):void[override] CharacterController _parse(data:Object):void[override] PhysicsComponent _removeFromSimulation():void[override] CharacterController destroy():void 销毁组件 Component jump(velocity:Vector3 = null):void 跳跃。 CharacterController mo...
来源: Laya2.0_api 发布时间: 20190513
...() { 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
...dAni(this.aniPath); this.templet.on(Event.COMPLETE, this, this.parseComplete); this.templet.on(Event.ERROR, this, this.onError); } parseComplete() { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); ...
来源: Laya_社区 发布时间: 20211013
...lBack(errorCode, data) { if (!errorCode) { MiniFileMgr.filesListObj = JSON.parse(data.data); MiniFileMgr.fakeObj = MiniFileMgr.filesListObj || {}; } else { MiniFileMgr.fakeObj = MiniFileMgr.filesListObj = {}; } MiniFileMgr.fs.readdir({ dirPath: MiniFileMgr.fileNativeDir, success: function (data) { v...
来源: Laya_社区 发布时间: 20200529
...)TrailMaterial _addReference(count:int = 1):void[override] BaseMaterial _parse(data:*, propertyParams:Object = null, constructParams:Array = null):BaseMaterial[static] BaseMaterial _removeReference(count:int = 1):void[override] BaseMaterial clone():* 克隆。 BaseMaterial cloneTo(destObject:*)...
来源: Laya2.0_api 发布时间: 20190513
...EffectMaterial _addReference(count:int = 1):void[override] BaseMaterial _parse(data:*, propertyParams:Object = null, constructParams:Array = null):BaseMaterial[static] BaseMaterial _removeReference(count:int = 1):void[override] BaseMaterial clone():* 克隆。 BaseMaterial cloneTo(destObject:*)...
来源: Laya2.0_api 发布时间: 20190513