大约有 434 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0045 秒)
... JSZip.loadAsync(value).then( (zipData: JSZip) => { console.log(zipData.files); for (let i in zipData.files) { console.log(`key=${i},value=${z...
来源: Laya_社区 发布时间: 20230208
...ht TypeError: Cannot read property 'addChild' of null, location: /data/user/0/com.vivo.hybrid/app_resource/com.chenxing.vivominigame/jsfile:///C:\Users\74741\AppData\Roaming\Tencent\QQTempSys\OOY5$4OW5H`8`9%(9$)T67M.gifndle.js:0:0 [ERROR] (/opt/jenkins/workspace/vivo_vfile:///...
来源: Laya_社区 发布时间: 20200515
...滚动后发生cell复用,相当于在重复注册事件. 在refresh data后,你也相当于在重复注册事件,所以你 reload all data 几次,你就会重复几次. 首先你的这写法不正规,不和文档; 再者,如果就按你这个路数,你在 on 注册事件之前...
来源: Laya_社区 发布时间: 20251021
...mlDemo { public function XmlDemo() { Laya.init(550,400); Laya.loader.load("data.xml",Handler.create(this,onLoaded),null,Loader.XML); } private function onLoaded():void { // TODO Auto Generated method stub var xml:XmlDemo=Laya.loader.getRes("data.xml"); trace(xml); } } }运行效果如下: 2016-...
来源: Laya_社区 发布时间: 20160914
... return Laya.Laya.loader.fetch("libs/" + wasmFile, "arraybuffer").then(data => { if (data) { let module = new window.WebAssembly.Module(data); let instance = new window.WebAssembly.Instance(mo...
来源: Laya_社区 发布时间: 20250626
...fferUsage canRead instanceBuffer vertexDeclaration Methods destroy getUint8Data orphanStorage serilizeVertexDeclaration setData unbind Constructors constructor new NativeVertexBuffer3D(byteLength: number, bufferUsage: BufferUsage, canRead?: boolean): NativeVertexBuffer3D Overrides VertexBuffer3D.con...
来源: Laya3.0_api 发布时间: 20231115
...04.986 15556-15556/? E/LayaConch5: plugin-----------------EngineStart() = /data/data/com.layabox.conch5//LayaCache/localstorage 03-19 15:01:05.101 15556-15556/? E/SysUtils: ApplicationContext is null in ApplicationStatus 03-19 15:01:05.326 15556-15556/? E/0: ==============Java流程 FlashScreen star...
来源: Laya_社区 发布时间: 20180319
...rarchy Resource TextResource Index Constructors constructor Properties _id data destroyedImmediately format lock name url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateU...
来源: Laya3.0_api 发布时间: 20231115
...); this.hr.once(Event.ERROR , this ,onHrErrorHandler); this.hr.send($url, $data, $method, $responseType, $headers); private function onHrCompleteHandler():void { if(this.completeHandler) { this.completeHandler.runWith(this.hr.data); } } private function onHrErrorHandler($error:String):void { if(this...
来源: Laya_社区 发布时间: 20180528
...ean = false; private refreshCamera(){ this.curStatus =!this.curStatus; let data:ArrayBuffer = Laya.Loader.getRes(this.AllPng[this.curStatus ? 0: 1]);//pic-001 const x2 = new Uint8Array(data); let p = new window['PNG'](x2); let getData = p.decode();//rgba数组序列 this.texture.setPixels(getData); ...
来源: Laya_社区 发布时间: 20220815