大约有 1,499 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0059 秒)
...rotocol.proto", this.onLoaded); function onLoaded(err:any, root:any):void{ if (err) throw err; // Obtain message types var msgDefine:any = = root.lookup("protocols.packetc2g_select_gate"); var newMessage:any = msgDefine.create(); } 然后发现里面的成员名字都变了 “_i”变成了大写...
来源: Laya_社区 发布时间: 20170914
...on onMouse(e:Event,index:Number):void { // TODO Auto Generated method stub if(e.type==Event.CLICK) { trace("click"); } } 2016-12-02 3 2 分享 微博 QZONE 微信 sunkehappy 赞同来自: @cuixueying 感谢提供方案,不过我还是想多说一句,selectHander最好是应该允许被调用多...
来源: Laya_社区 发布时间: 20161202
...ar animationclip:Laya.AnimationClip = this.animator.getClip(action); if(animationclip){ this.animator.play(act); } } 现象描述:角色正在挂机放技能打怪,当挂机时间过长后,角色卡在动作的某一帧上,不再执行动作播放。通过打断点...
来源: Laya_社区 发布时间: 20180828
... private LoadFinish(success:boolean):void { if(success) { let tex:any = Laya.Loader.getRes("res/FGUIMain/Common_atlas0.png"); let x = tex.bitmap.getPixels(); console.log("-...
来源: Laya_社区 发布时间: 20210618
...这个报错是什么意思? SoundManager._recoverWebAudio=function(){ if(WebAudioSound.ctx&&WebAudioSound.ctx.state!="running") WebAudioSound.ctx.resume(); } 难道是音效问题?可是前面加载的时候我并没有加载音效啊。。 15818760256 • 2018-05-19 17:03 我...
来源: Laya_社区 发布时间: 20180517
...0,__proto,'fontSize',function(){ return this._fontSize; },function(value){ if (this._fontSize !=value){ this._fontSize=value; this.isChanged=true; } }); 如果设置fontSize="30",没有做类型转换,后面所有通过fontSize参与的加法运算都会变成字符串拼接运算。建议加上...
来源: Laya_社区 发布时间: 20181204
...ut:we are installing dependencies for you . this might take a while... if failed,you should install dependencies by yourself with 'npm install' 就一直卡着了 4、后再删掉2.6,用2.4打开,还是报一样错误 附件 : --> 2020-04-14 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20200414
...aya_Aaron 赞同来自: Laya.timer.frameLoop(1, this, ()=> { angle +=1; if(angle > 360) { angle = 0; } sp.graphics.clear(); sp.graphics.drawPie(128,128,128,0,angle,"0xff0000"); var tex = sp.drawToTexture(256,256,0,0); //var html:Laya.HTMLCanvas = sp.drawToCanvas(256,256,0,0); //img.loadImageSo...
来源: Laya_社区 发布时间: 20190520
... 2 个回复 陆仁毅 赞同来自: 搜索vvmini.js的 getUrlEncode方法 if (type == "arraybuffer") return ""; 这个空字符串改为binary 2019-11-07 0 5 分享 微博 QZONE 微信 Tengee 赞同来自: 楼主,遇到了同样的问题,你的解决了吗? 2019-12-03 0 0 分享 微...
来源: Laya_社区 发布时间: 20191107
...mplete();:private _checkComplete(): void { //该条件一直无法达成 if (ILaya.Browser.measureText(TTFLoader._testString, this._fontTxt).width != this._txtWidth) { this._complete(); } } 请问该怎么处理ttf字体文件? 附件 : --> 2020-06-28 添加评论 免费帖 --> 分享 微博 QZO...
来源: Laya_社区 发布时间: 20200628