大约有 220 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0043 秒)
...回复 Laya_Aaron 赞同来自: [[conchRuntime GetIOSConchRuntime] runJS:@"alert('hello')"]; 能执行这个就是可以跑通js代码, 至于js代码写的不对,这个我们就不知道了每个人结构都不一样。 2019-12-27 0 1 分享 微博 QZONE 微信 155*****553 赞同来自: 你好 ...
来源: Laya_社区 发布时间: 20191227
...ageChange); } protected onStageChange(event:Event):void { this.bg.y = 180; alert("11111111111111") var desWidth:Number; var desHeight:Number; //获取窗口显示区的宽度。 desWidth=window.innerWidth; //获取窗口显示区的高度。 desHeight=window.innerHeight if(desHeight!=this.sourceHeig...
来源: Laya_社区 发布时间: 20170322
...";para:"+para+";letterList[para]:"+letterList[para]); return function () { alert("z:"+z+";para:" + para + "I'm letter " + letterList[para]); }; })(z)); } 控制台结果: z:0;para:0;letterList[para]:A z:1;para:1;letterList[para]:B z:2;para:2;letterList[para]:C 对,你没看错,我也没贴错...
来源: Laya_社区 发布时间: 20180810
...i.Image(); } function cb_onFail(message) { //alert(message); } 2017-01-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 cuixueying 赞同来自: 直接像传递url地址...
来源: Laya_社区 发布时间: 20170103
...0; sp.index=i; sp.size(50,50); sp.on(Laya.Event.CLICK,this, function (e) { alert(e.target.index); },[{target:sp}]) Laya.stage.addChild(sp); } 2017-02-21 1 0 分享 微博 QZONE 微信 ayiui4566 赞同来自: e.target有index属性?会检测期间报错的吧。 2017-12-11 0 0 分享 微博 QZON...
来源: Laya_社区 发布时间: 20170221
...his.ray, this._outHitInfo, 30, 13); if (this._outHitInfo.distance !== -1){ alert("666"); } this.phasorSpriter3D.begin(Laya.WebGLContext.LINES, state); //绘出射线 this.phasorSpriter3D.line(this.ray.origin.x, this.ray.origin.y, this.ray.origin.z, 1.0, 0.0, 0.0, 1.0, 0, -1, 0, 1.0, 0.0, 0.0, 1.0); ...
来源: Laya_社区 发布时间: 20170323
...on.CallBackToJS(JSBridge.class, "authWxToLaya", "aabbcc"); ConchJNI.RunJS("alert('hello Laya')");设置就连这种方式都不行是不是因为拉起app之后,有些逻辑需要做特殊的处理吗???? 附件 : --> 2020-01-13 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20200113
...layaAir 打包成apk后在真机上运行 使用粒子时报错 I/LayaBox: alert=出错啦,请把此信息截图给研发商 TypeError: this._emitter.advanceTime is not a function http://192.168.1.240:8900/bin/ ... :831: TypeError: this._emitter.advanceTime is not...
来源: Laya_社区 发布时间: 20180511
... 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._isActive || SoundManager._muted || SoundManager._soundMuted)...
来源: Laya_社区 发布时间: 20181019
...= 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 (_soundMuted) return null; } var tSound:Sound; if (!Browser.onMiniGame) { t...
来源: Laya_社区 发布时间: 20190115