大约有 518 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0049 秒)
...存二进制文件,逻辑如下: public Request(url:string):void { console.log("url: " + url); if (Laya.Browser.onMiniGame) { var args = {url:url, handler:null}; var handler = Laya.Handler.create(this, this.OnDownloadFileInWxOk, [args], false); args.handler = handler; Laya.MiniAdpter.downLoad...
来源: Laya_社区 发布时间: 20180604
...rom previous GL command 02-05 16:53:07.013 24700-24700/? I/chromium: [INFO:CONSOLE(0)] "[.Offscreen-For-WebGL-0x7c8dec00]GL ERROR :0x0505 : glTexImage2D: <- error from previous GL command", source: http://xx.xxx.xxxx.pk/xn/x/.............html (0) 02-05 16:53:07.825 24700-24824/? E/chromium: [ERRO...
来源: Laya_社区 发布时间: 20180205
... // ES6: var h = 'Hello'; var w = 'World'; var helloWorld = `${h} ${w}`; console.log(helloWorld); // 用在console console.log("%s%d", "one plus one equals ", 2) 2017-10-26 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 jxfcwys 相关问...
来源: Laya_社区 发布时间: 20171026
... 代码: var configData:XmlDom = Loader.getRes(config_PATH) as XmlDom; console.log(configData); console.log(configData.attributes); console.log(configData.childNodes); xml如下: <root> <config> <PATH>../h5/</PAHT> </config> </r...
来源: Laya_社区 发布时间: 20170531
...= Laya.Browser.clientWidth; this.oldheight= Laya.Browser.clientHeight; } console.log("设置横屏" + isFirst); if (isFirst) Laya3D.init(1280, 720, true); else Laya.stage.width = 1280; Laya.stage.height = 720; //Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_WIDTH; Laya.stage.scaleMode = Laya.Stage...
来源: Laya_社区 发布时间: 20180517
...這樣: Vector3 {elements: Float32Array[3]} 改成這樣: console.log( camera.transform.position.x ); console.log( camera.transform.position.y ); console.log( camera.transform.position.z ); 另外;你的 position 打錯,不是 postion 是 position。 2017-08-08 2 0 分享...
来源: Laya_社区 发布时间: 20170808
...rmal; share.imageUrl = ShareImgUrl; let a = await share.shareAppMessage(); console.log(a) } 转换后代码 onShareClick() { // return __awaiter(this, void 0, void 0, function* () { // let share = SDKCenter.getShare(); // share.title = ShareNormal; // share.imageUrl = ShareImgUrl; // let a = y...
来源: Laya_社区 发布时间: 20180521
... this, errorHandler); function openHandler(event){ //正确建立连接; console.log("链接"); } function receiveHandler(msg){ ///接收到数据触发函数 console.log("接受"); } function closeHandler(e){ //关闭事件 console.log("关闭"); } function errorHandler(e){ //连接出错 console...
来源: Laya_社区 发布时间: 20180125
...ow["qg"].login({ success: function (res) { var data = JSON.stringify(res); console.log("OPPO登录:" + data); callBack(res); }, fail: function (res) { LogicManager.instance.toLoginSucc(); console.log("登陆失败:" + JSON.stringify(res)); } }); 登陆失败:{"code":7605,"msg":"没有 数据","d...
来源: Laya_社区 发布时间: 20190823
...er.window.wx.onHide(_onHideWX); } private function _onShowWX(res:*):void { console.log("wx.onShow:",res); console.log(Laya.timer.currTimer); } private function _onHideWX():void { console.log("wx.onHide:"); console.log(Laya.timer.currTimer); } wx.onShow.currTimer == wx.onHide.currTimer 这两个居...
来源: Laya_社区 发布时间: 20180827