大约有 216 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0071 秒)
... ext=Utils.getFileExtension(url); if (ext !="wav" && ext !="ogg"){ alert("The sound only supports wav or ogg format,for optimal performance reason,please refer to the official website document."); return null; } } // if (SoundManager._soundMuted)return null; }; var tSound; if (!Browser.onMin...
来源: Laya_社区 发布时间: 20180709
...onLayaInitError = function(e) { console.log("onLayaInitError error=" + e); alert("加载游戏失败,可能由于您的网络不稳定,请退出重进"); } 开发者可以根据自己需求,修改报错信息和报错方式。 9. conch.getWindowInfo Version >= LayaAir 3.4 类似微信小游...
来源: Laya3.0_文档 发布时间: 20260128
...平台打包异常 具体日志 10-15 16:43:46.702: I/LayaBox(3503): alert=出错啦,请把此信息截图给研发商 10-15 16:43:46.702: I/LayaBox(3503): TypeError: Cannot read property 'btCollisionObject' of undefined 10-15 16:43:46.702: I/LayaBox(3503): http://stand.alone.version/libs/lay...
来源: Laya_社区 发布时间: 20181015
...'http://runtime.layabox.com/font/simhei.ttf', true, null)); } if (!data) { alert('>>>download ttf error '); return; } fs_writeFileSync(sTempFontPath, data); conch.initFreeTypeDefaultFontFromFile(sTempFontPath); } } ----------------------------------------------------- 个人认为这样是...
来源: Laya_社区 发布时间: 20170320
...文本 * @param str 需要复制的内容 * @param isAlertMsgId 需要弹出提示的信息ID,23为复制成功 * @param isAlertMsgInfo 需要提示的具体内容 * */ public static copy(str: string ,isAlertMsgId?:number ,isAlertMsgInfo?:string): boolea...
来源: Laya_社区 发布时间: 20181214
...owser.width, Laya.Browser.height); if (Laya.Media.supported() === false) { alert("当前浏览器不支持"); } else { showMessage(); var options = { audio: true, video: { facingMode: { exact: "environment" }, // 后置摄像头,默认值就是,不设至也可以。 width: Laya.stage.width, heig...
来源: Laya2.0_文档 发布时间: 20210714
...ror=Load start url error 2019-06-18 13:34:09.466822+0800 test1[6479:65523] alert=Âä†ËΩΩÊ∏∏Êà觱˥•ÔºåÂèØËÉΩÁ∫éÊÇ®ÁöÑÁΩëÁªú‰∏çÁ®≥ÂÆöÔºåËØ∑ÈÄÄÂá∫ÈáçËøõ 附件 : --> laya2.zip 2019-06-18 添加评论 悬赏 --> 分...
来源: Laya_社区 发布时间: 20190618
... obj.type = "angel"; break; case 5: obj.type = "aeroboat"; break; default: alert("网络连接错误,请重新进入游戏~"); break; } obj.lel = target.lel; // 加载主体的背景 Laya.loader.load("res/island.png", Handler.create(this, function() { // 图片加载 var t = Laya.loader.getRes("re...
来源: Laya_社区 发布时间: 20170720
....Browser.width,Laya.Browser.height); if(Laya.Media.supported() === false){ alert("当前浏览器不支持"); } else{ this.showMessage(); var options:any = { audio:true, video:{ facingMode: { exact: "environment" }, // 后置摄像头,默认值就是,不设至也可以。 width: Laya.stage.width...
来源: Laya2.0_文档 发布时间: 20210715
...ate DCC get filetable error 2018-01-09 20:50:15.944 ZhuaWawa[2531:1863829] alert=加载游戏失败,可能由于您的网络不稳定,请退出重进 2018-01-09 20:50:15.945 ZhuaWawa[2531:1863829] init dcc fail ...
来源: Laya_社区 发布时间: 20180109