大约有 1,499 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0057 秒)
...ufferSourceNode'的问题 __proto._tryClearBuffer=function(sourceNode){ // if (!Browser.onMac){ // try{ // sourceNode.buffer=null; // }catch (e){ // WebAudioSoundChannel._tryCleanFailed=true; // } // return; // } try {sourceNode.buffer=WebAudioSound._miniBuffer;}catch (e){WebAudioSoundChannel._tryCl...
来源: Laya_社区 发布时间: 20180914
...entTop); // this._point.setTo(e.pageX || e.clientX, e.pageY || e.clientY); if (this._stage._canvasTransform) { this._stage._canvasTransform.invertTransformPoint(this._point); _this.mouseX = this._point.x; _this.mouseY = this._point.y; } _this._event.touchId = e.identifier || 0; this._tTouchID = _thi...
来源: Laya_社区 发布时间: 20191227
...= "middle"; Laya.stage.alignH = "center"; Laya.stage.bgColor = "#0000000"; if (Laya.Browser.onPC) { Laya.stage.scaleMode = "exactfit"; } else { Laya.stage.scaleMode = "fixedheight"; } 附件 : --> 2019-03-29 添加评论 已悬赏20元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...
来源: Laya_社区 发布时间: 20190329
...法 loadSuccess loadRunning 在LoadController中有个 public startLoad(){ if(LoadControl.isLaodSuccess){ console.log("加载成功了"); EventManager.Instance().BroadcastLisenter(GameEnum.load_success); }else{ console.log("开始加载进度了"); ResourceManager.Instance().loadSuccess(); // 这里...
来源: Laya_社区 发布时间: 20181213
...Context.DEPTH_STENCIL, mipMap:Boolean = false, repeat:Boolean = false, minFifter:int = -1, magFifter:int = -1):RenderTarget2D { var t:RenderTarget2D = POOL.pop(); t || (t = new RenderTarget2D(w, h)); if (!t.bitmap |...
来源: Laya_社区 发布时间: 20180505
...e;然后,修改3Dinit那句,增加第三个参数,改为如下代码 if (window["Laya3D"]) Laya3D.init(GameConfig.width, GameConfig.height, _config); 然后就Ok了 修改好的项目,已上传到附件里了,你也可以对照附件来看一下。 xiangmu2.rar 2020-10-22 0 0 分享 微...
来源: Laya_社区 发布时间: 20201022
...rName_txt]); private function tabNext(e:Event,target:Node):void { if(e.keyCode == Keyboard.TAB) { //无法触发 焦点直接直接到浏览器外去了(浏览器地址栏) } } 2018-09-26 0 0 分享 微博 QZONE 微信 hj 赞同来自: 您上传一下dem...
来源: Laya_社区 发布时间: 20180926
...rotoBufLoaded1); } function onProtoLoaded(err:any, root:any):void{ if (err) throw err; root_protocol = root; } 2017-09-11 0 0 分享 微博 QZONE 微信 cuixueying 赞同来自: http://www.cnblogs.com/dh-dh/p/5202780.html 2017-09-12 0 0 分享 微博 QZONE 微信 为...
来源: Laya_社区 发布时间: 20170911
...xView.prototype.loadProgress = function(){ this.box.addChild(this.circle); if(this.angle <= 360){ this.angle+=12; this.draw.graphics.drawPie(this.say.width/2, this.say.height/2, this.say.width/2+9,0,this.angle, "#ffffff"); }else{ this.draw.graphics.clear(); this.circle.graphics.clear(); } } retur...
来源: Laya_社区 发布时间: 20170807
... __proto.getTileProperties=function(index,id,name){ if (this._tileProperties[index] && this._tileProperties[index][id]){ return this._tileProperties[index][id][name]; } return null; } import { ui } f...
来源: Laya_社区 发布时间: 20190218