大约有 1,489 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0048 秒)
...ouseX; sp.y=Laya.stage.mouseY; //可写可不写,限制sp的移动区域 if(sp.x>=400) { sp.x=400; } if(sp.x<=100) { sp.x==100; } if(sp.y>=450) { sp.y=450; } if(sp.y<=300) { sp.y=300; } } } } 2017-01-06 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复...
来源: Laya_社区 发布时间: 20170106
...ction render(context:*, x:Number, y:Number):void { if (Render.isWebGL && mTexture) { context._renderKey = 0; context._shader2D.glTexture = null; SkinMeshBuffer.getInstance(...
来源: Laya_社区 发布时间: 20190628
...topwcd 赞同来自: protected function _frameLoop():void { if (_style.visible && _style.alpha > 0.01) { this.index = _index, _index++; if (this._index >= this._count) { if (loop) this._index = 0; else { _index--; stop(); } event(Event.COMPLETE); } } } 这里刚开始...
来源: Laya_社区 发布时间: 20160714
...{ _isActive = true; Laya.stage.off(Event.MOUSE_DOWN, null, _stageOnFocus); if (_blurPaused) { if (_tMusic) { playMusic(_tMusic, _musicLoops, _musicCompleteHandler, _musicPosition); } _blurPaused = false; } if(WebAudioSound.ctx.state == "interrupted") { WebAudioSound.ctx.resume(); } } 2017-10-21 0...
来源: Laya_社区 发布时间: 20171019
... *@param uiData */ __getset(0,__proto,'effectData',null,function(uiData){ if (uiData){ var aniData=uiData["animations"]; if (aniData && aniData[0]){ var data=aniData[0]; this._setUp({},data); if (data.nodes && data.nodes[0]){ this._aniKeys=data.nodes[0].keys; } } } });
来源: Laya_社区 发布时间: 20181019
...static openZone(vx:number=0,vy:number=0,scaleX:number=1,scaleY:number=1) { if(!this._openZone) { //开放域 this._openZone = new Laya.Sprite(); } this._openZone.size(Laya.stage.width,Laya.stage.height); if(this._openZone.parent) return; console.log("打开开放域",Laya.Browser.onMiniGame) Laya.st...
来源: Laya_社区 发布时间: 20200618
...eX = 1; this.scaleY = 1; this.alpha = 1; this.pos(0,0); this.filters = []; if(selectImg != null) { selectImg.removeSelf(); } this.mouseEnabled = true; if(this.visible == false) { this.visible = true; } super.removeSelf(); if(itemCountTx != null) { itemCountTx.removeSelf(); } return this; } 2017-1...
来源: Laya_社区 发布时间: 20171129
LAYAAIR TO PROTOBUF 请问这个 类库中 if-flash if-script 这个 有地方控制吗 ? 还是说需要 根据自己的项目 手动修改 ,例如 现在 是 AS3 项目,但编译器使用的是laya ,用 你们的工具 转化的 AS3版本的protobuf 消息文件 中 带的还是 ...
来源: Laya_社区 发布时间: 20180320
...是 0% 打印了下,loadingView.prototype.loading = function (value) { if (this.bridge) { if (this.sOS == "Conch-ios") { this.bridge.call("loading:", value); } else if (this.sOS == "Conch-android") { this.bridge.call("loading", value); } console.log("loadingView.prototype.loading=" + value); } }...
来源: Laya_社区 发布时间: 20190724
...id { _bgColor = value; conchModel && conchModel.bgColor(value); if (Render.isWebGL) { if (value && value !== "black" && value !== "#000000") { _wgColor = Color.create(value)._color; } else { _wgColor = null; } } if (value) { Render.canvas.style.background = value; } els...
来源: Laya_社区 发布时间: 20180607