大约有 223 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0033 秒)
...一<code>Position</code>参数的回调处理器。 * @param onError 可选的。带有错误信息的回调处理器。错误代码为Geolocation.PERMISSION_DENIED、Geolocation.POSITION_UNAVAILABLE和Geolocation.TIMEOUT之一。 */ static getCurrentPosition(onSuccess: Handler, onError:...
来源: Laya3.0_文档 发布时间: 20251010
...irIDE让项目开发更高效。let numLoaded = 0; class Loader_ProgressAndErrorHandle { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler, Event = Laya.Event, Loader = Laya.Loader; // 不支持WebGL时自动切换至Canvas...
来源: Laya2.0_示例 发布时间: 20251209
...)[0], "./node_modules/.bin/tsc.cmd"); child_process.execFile(tscurl, cmd, (err, stdout, stderr) => { if (err) { console.log(err, '\n', stdout, '\n', stderr); } start(err); }); 复制代码[/code] 改为[code] let cmd = "tsc -b " + tsConfigUrl; child_process.exec(cmd, (err, stdout, stderr) => {...
来源: Laya_社区 发布时间: 20200925
...>getMovieClipAtlas: res/swf/bomb.swf true Failed to load resource: net::ERR_FILE_NOT_FOUND [warn]Retry to load: bomb/2.png Failed to load resource: net::ERR_FILE_NOT_FOUND Failed to load resource: net::ERR_FILE_NOT_FOUND Failed to load resource: net::ERR_FILE_NOT_FOUND Failed to load resource: ne...
来源: Laya_社区 发布时间: 20170523
...etCurrentPosition( Handler.create(this, onSuccess), Handler.create(this, onError) ); // 成功获取位置后触发 function onSuccess(info:GeolocationInfo):void { trace('经纬度: (' + info.longitude + '°, ' + info.latitude + '°),精确度:' + info.accuracy + 'm'); if(info.altitude != null) ...
来源: Laya_社区 发布时间: 20180402
...错日志 processAudioBuffer(154):obtainBuffer(850)returned 858 = 850 + 8 err 0 processAudioBuffer(154):obtainBuffer(882)returned 8 =8 + 0 err 0 processAudioBuffer(154):obtainBuffer(882)returned 8 = 8 + 0 err 0 processAudioBuffer(154):obtainBuffer(874)returned 0 = 0 + 0 err -11 processAudioBuffer(15...
来源: Laya_社区 发布时间: 20251014
... 错误看着就是很不舒服吧。 Failed to load resource: net::ERR_FILE_NOT_FOUND [file:///E:/f/laya/layaBattle/bin/resource/unit/element2.png] [warn]Retry to load: resource/unit/element2.png laya.core.js:19110 Failed to load resource: net::ERR_FILE_NOT_FOUND [file:///E:/f/laya/layaBat...
来源: Laya_社区 发布时间: 20191124
...etCurrentPosition( Handler.create(this, onSuccess), Handler.create(this, onError) ); // 成功获取位置后触发 function onSuccess(info:GeolocationInfo):void { trace('经纬度: (' + info.longitude + '°, ' + info.latitude + '°),精确度:' + info.accuracy + 'm'); if(info.altitude != null) ...
来源: Laya2.0_文档 发布时间: 20210715
...etCurrentPosition( Handler.create(this, onSuccess), Handler.create(this, onError) ); // 成功获取位置后触发 function onSuccess(info:GeolocationInfo):void { trace('经纬度: (' + info.longitude + '°, ' + info.latitude + '°),精确度:' + info.accuracy + 'm'); if(info.altitude != null) ...
来源: Laya2.0_文档 发布时间: 20210715
...etCurrentPosition( Handler.create(this, onSuccess), Handler.create(this, onError) ); // 成功获取位置后触发 function onSuccess(info:GeolocationInfo):void { trace('经纬度: (' + info.longitude + '°, ' + info.latitude + '°),精确度:' + info.accuracy + 'm'); if(info.altitude != null) ...
来源: Laya2.0_文档 发布时间: 20210714