大约有 4,102 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0114 秒)
Laya_社区(3323) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_文档(116) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...()没有能够清除这个节点的纹理 (this.owner as Laya.Sprite).graphics.clear(); var t: Laya.Texture = Laya.loader.getRes("puzzlePic/pi-" +this.levelNum +"-"+this.owner.name.slice(4,1)+ "-2.png"); ...
来源: Laya_社区 发布时间: 20201012
... 已邀请: 与内容相关的链接 提交 1 个回复 qian 赞同来自: this.bg_img.skin = "ui/bg.jpg"; this.bg_img.width = Laya.stage.width; this.bg_img.height = Laya.stage.height; Image使用skin修改显示,改变宽高时,会拉伸显示内容 2018-01-30 0 0 分享 微博 QZONE 微信 为...
来源: Laya_社区 发布时间: 20180130
...ID: number, sourceData?: any): void {let bounds = dragCom.getSelfBounds(); this._agentTexture = Laya.Sprite.drawToTexture(dragCom,Laya.SpriteConst.TEXTURE,bounds.width, bounds.height, -bounds.x + view.x, -bounds.y + view.y); this._agent.graphics.drawTexture(this._agentTexture, (this._agent.width - b...
来源: Laya_社区 发布时间: 20210911
...没有起作用啊cmd.blitScreenTriangle(sourceTexture, destTexture, null, this._shader, this._shaderData, 0); 2020-05-22 0 0 分享 微博 QZONE 微信 MQ 赞同来自: Try...................... render(context: { command: any; camera: { viewport: any; }; source: Laya.RenderTexture; def...
来源: Laya_社区 发布时间: 20200522
...,请求官方协助! public post(url: string, data: any, callback: (this: void, data: JSON) => void): void { let hr = new Laya.HttpRequest(); hr.once(Laya.Event.COMPLETE, this, (e: any): void => { callback(JSON.parse(hr.data)); }); ...
来源: Laya_社区 发布时间: 20190829
...。 引用场景,卡牌融合。 比较常用的list功能。 ``` this.uiList.refresh(); 也无效 ``` this.uiList.array=[]; this.uiList.array=修改数组 this.uiList.refresh(); 该数组情况,重新赋值也无效 临时解决方案: 关闭ui重新打开,这个功能比较...
来源: Laya_社区 发布时间: 20190628
...断是进不去的,但我打印出来是满足条件的,必现) if(this._view && this._tableInfo.hasOwnProperty('players')) { let data = this._tableInfo; alert(param.players[0].uid +' '+App.uid +' '...
来源: Laya_社区 发布时间: 20180109
..., alpha:1},2000,null,0); timeLine.play(0,true); timeLine.on(Event.COMPLETE,this,this.onComplete); timeLine.on(Event.LABEL, this, this.onLabel); } function onComplete() { console.log("timeLine complete!!!!"); } function onLabel(label) { console.log("LabelName:" + label); }少年 没仔细看官方的...
来源: Laya_社区 发布时间: 20180718
...data: StorageRoom.map_storageData[0][0],tag:0}; box.on(Laya.Event.MOUSE_UP,this,this.onclick,[arr]); var _proto = StorageUILayer.prototype; _proto.onclick = function(params){ console.log("--------------------------------hhhhhhhhhhh- "); } ----------------------------------------------------...
来源: Laya_社区 发布时间: 20171113
...View.json", type: Loader.JSON }, ] Laya.loader.load(assets, Handler.create(this, this.onLoaded)); } private onLoaded():void { this.createView(Laya.loader.getRes("view/MyView.json")); } } 因为加载是异步的,很有可能在加载过程中,用户或者其他行为逻辑已经反复开关这...
来源: Laya_社区 发布时间: 20180113