大约有 353 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0047 秒)
...有属性 */ public function clearAll():void { if (_map) { _map = null; } this.visible = false; //aniSpriteArray为空的时候,导致自己没有被销毁,直接return了 if (aniSpriteArray == null) { return; } var tAniSprite:TileAniSprite; for (var i:int = 0; i < aniSpriteArray.length; i++)...
来源: Laya_社区 发布时间: 20180503
... Laya.loader.create(["Main/SMain.ls","Role/Role.lh"],Laya.Handler.create(this,this.on3DComplete),Laya.Handler.create(this,this.onProgress,null,false)); Manager.prototype.onProgress = function(value) { console.log("value=="+Math.floor(value*100)+"%"); } 输出结果: 0.19186599730944645 0.525199...
来源: Laya_社区 发布时间: 20180619
... } console.log("copy end"); this.socket.send(b); console.log("send end"); this.socket.flush(); 2017-06-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...
来源: Laya_社区 发布时间: 20170628
... 但是 动画依然存在 private backindex():void{ this.removeSelf(); Laya.Scene.open("Gameindex.scene"); } 2019-12-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 ...
来源: Laya_社区 发布时间: 20191224
...置once参数为false。 * @param caller 执行域(this)。 * @param method 回调方法。 * @param args 携带的参数。 * @param once 是否只执行一次,如果为true,回调后执行recover()进行回...
来源: Laya_社区 发布时间: 20180704
...; private mBitmapFont:Laya.BitmapFont; constructor() { Laya.init(600,400); this.mBitmapFont = new Laya.BitmapFont(); this.mBitmapFont.loadFont("../laya/assets/txt.fnt", new Laya.Handler(this.onLoaded)); } private onLoaded():void { this.init(); } private init():void { this.mBitmapFont.setSpaceWidth(1...
来源: Laya_社区 发布时间: 20171028
...ite(); sp2.x = 100; sp2.loadImage('bet/cheer_1_4.png'); sp1.addChild(sp2); this.addChild(sp1); const htmlCanvas = sp1.drawToCanvas(640, 200, 0, 0); const canvas = htmlCanvas.getCanvas(); trace(canvas.toDataURL('image/png')); const texture = new Laya.Texture(htmlCanvas); const sp = new Sprite(); sp.g...
来源: Laya_社区 发布时间: 20171018
...数执行两次!!! Laya.loader.create("Main/SMain.ls",Laya.Handler.create(this,this.on3DComplete),Laya.Handler.create(this,this.onProgress,null,false)); Manager.prototype.onProgress = function(value) { console.log("value=="+Math.floor(value*100)+"%"); } 输出结果: 0.19186599730944645 0.52519...
来源: Laya_社区 发布时间: 20180620
...该View对应的runtime类里面,myTab.selectHandler = new Laya.Handler(this,this.changeTab); 点击tabItem时,没有回到changeTab事件里面。请问要怎么处理? 附件 : --> tab.rar 2019-05-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...
来源: Laya_社区 发布时间: 20190514
...这种状况。有没有好的方法可以解决啊,或者绕过都行 this._input.focused = true; this._input.requestFocus(); 2019-03-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个...
来源: Laya_社区 发布时间: 20190315