大约有 153 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0051 秒)
Laya_社区(121) Laya2.0_文档(11) Laya3.0_api(5) Laya2.0_示例(4) Laya_示例(4) Laya2.0_api(3) Laya3.0_文档(3) laya_api(2)
... this.loadFont(); } loadFont() { const BitmapFont = Laya.BitmapFont, Handler = Laya.Handler; Laya.loader.load([{ url: ['res/bitmapFont/test.fnt'], type: Laya.Loader.FONT }], Handler.create(this, () => { console.log('bitmapFont loaded'); ...
来源: Laya_社区 发布时间: 20190225
... occurred; use the non-minified dev environment for the full error message and additional helpful warnings. jacksing888 • 2017-03-21 11:19 这里更加合理的做法应该是 自己封装一个函数 去调用 才是比较合理的 尽量少去污染全局的东西 cuixueying • 2017-03-21 11:19...
来源: Laya_社区 发布时间: 20170321
...定文件资源。[size=14][code]// Loads the file at the specified path and uses it Laya.loader.create([{ url: "xx.zip", type:"ZIP",constructParams:["xx/xxx1.lh","xx/xxx2.lh"]}], Laya.Handler.create(this, () => { let player1 = Laya.loader.getRes("xx/xxx1.lh").clone(); let player2 = Laya.loader.g...
来源: Laya_社区 发布时间: 20211227
... this.width + ' ' + this.height + '" '; // set svg width and height data += 'width="' + this.width + '" height="' + this.height + '">'; data += '<defs>'; // set gradient data += '<linearGradient id=...
来源: Laya_社区 发布时间: 20180824
...eout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.on(Event.PROGRESS,this,processHandler); xhr.send("res/data.data","","get","text"); function processHandler(data){ console.log(data); } function errorHandler(data){ } funct...
来源: Laya2.0_文档 发布时间: 20210714
...;//设置超时时间; xhr.once(Laya.Event.COMPLETE, this, this.completeHandler); xhr.once(Laya.Event.ERROR, this, this.errorHandler); xhr.on(Laya.Event.PROGRESS, this, this.processHandler); xhr.send("res/data.data", "", "get", "text"); console.log("aaaa"); } private processHandler(data:any): void...
来源: Laya2.0_文档 发布时间: 20210715
...eout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.on(Event.PROGRESS,this,processHandler); xhr.send("res/data.data","","get","text"); } private function processHandler(data:Object):void { trace(data); } private function co...
来源: Laya2.0_文档 发布时间: 20210715
...Debugger listening on port 48982. Warning: This is an experimental feature and could change at any time. laya_ide_time.require.single.gulp-util: 7.87ms gulp.js:8 laya_ide_time.require.single.pretty-hrtime: 2.2ms gulp.js:8 laya_ide_time.require.single.chalk: 10.4ms gulp.js:8 laya_ide_time.require.sin...
来源: Laya_社区 发布时间: 20200607
...ward; package null had UID -1 java.lang.Throwable at com.android.server.pm.PackageDexOptimizer.performDexOptLI(PackageDexOptimizer.java:149) at com.android.server.pm.PackageDexOptimizer.performDexOpt(PackageDexOptimizer.java:125) at com.android.server.pm.Pac...
来源: Laya_社区 发布时间: 20181126
...in both /System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore and /var/containers/Bundle/Application/2CBB02B7-1D05-4CF4-A68D-59337C781979/ZhuaWawa.app/ZhuaWawa. One of the two will be used. Which one is undefined. 2018-01-09 20:50:15.068 ZhuaWawa[2531:1863752] 当前应用软件版本:2...
来源: Laya_社区 发布时间: 20180109