大约有 1,492 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0043 秒)
... 2 个回复 大林 赞同来自: this.gl = laya.webgl.WebGL.mainContext; if (!this.gl) { throw new Error('Failed to get WebGL Context'); } gl的context取不到,为空。webgl的支持也显示为false 2018-09-10 0 0 分享 微博 QZONE 微信 皓雪树青 赞同来自: 问题解决了么?大...
来源: Laya_社区 发布时间: 20180910
... },function(value){ debugger; if (value) this._defineDatas.add(laya.d3.core.material.EffectMaterial.SHADERDEFINE_MAINTEXTURE); else this._defineDatas.remove(laya.d3.core.material.EffectMaterial.SHADE...
来源: Laya_社区 发布时间: 20181128
...; htmlCanvas.toBase64("image/png", 0.9, function(base64){ //trace(base64); if (!testTf){ __JS__('setWork(base64)'); } }); 2018-10-29 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 ohkei as3、as2、h5 相关问题 两个对象new了一...
来源: Laya_社区 发布时间: 20181011
...String, column:String, detail:*):void { if (erralert++ < 5 && detail) alert("出错啦,请把此信息截图给研发商\n" + msg + "\n" + detail.stack); } 2017-02-12 添加评论 ...
来源: Laya_社区 发布时间: 20170212
...? 0 个回复被折叠 要回复问题请先登录 发起人 comingdemon if you think you can,you can! 相关问题 微信关系链:LayaAir引擎针对微信小游戏好友关系链实现方案 Layaair IDE的帧属性面板不见了 安装layaAirIDE2 ,跟着官网敲hello world 例子,为什...
来源: Laya_社区 发布时间: 20170731
...n来做。 Laya.stage.on(Laya.Event.CLICK, this, function(res:Laya.Event){ if (res.target instanceof Laya.Button){ // click button } }) 2018-12-01 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 183*****288 相关问题 两个对象new了...
来源: Laya_社区 发布时间: 20180706
...--------- var aniData=_this_._parseGraphicAnimation(Loader.getRes(url)); if (!aniData)return; var aniList=aniData.animationList; var i=0,len=aniList.length; --------源码--------- 报错: aniList.length为null "Cannot read property 'length' of null" 2018-07-19 添加评论 免费帖 --> 分享 ...
来源: Laya_社区 发布时间: 20180719
...s,onLoop); private function onLoop():void { progress++; //最高100%进度 if(progress>=100) { progress=100; this.tips.text="游戏加载完毕,即将进入游戏..." this.panel.visible=false; this.gobtn.visible=true; }else { this.pro.value=progress/100; this.tips.text="游戏正在加载中,...
来源: Laya_社区 发布时间: 20180121
...imator:Laya.Animator; onStateEnter(): void { } onStateExit(): void { if(this.animator) { this.animator.crossFade(AnimationDefine.IDLE,0.5,0,0); } } onStateUpdate(): void { } } 2018-11-20 0 0 分享 微博 QZONE 微信 haseef520s 赞同来自: 嗯嗯 谢谢了 2.0以后可以获取animat...
来源: Laya_社区 发布时间: 20181109
....name = type + ""; this.showFight(fight); } showFight(num: number): void { if (this._sprFight) this._sprFight.graphics.clear(); this._sprFight = bigao.utils.TextrueUtils.getNumberByUrl(resourcesCenter.ResourcesPathStr.FIGHT_NUMBER_PATH_PNG, num.toString()); this._sprFight.x = 600; this._sprFight.y =...
来源: Laya_社区 发布时间: 20170916