大约有 2,740 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0065 秒)
Laya_社区(1925) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(46)
...不用处理了。 Laya.loader.load("res/aaa.scene", Laya.Handler.create(null, (content)=>{console.log(content)})); Laya.loader.load("res/bbb.json", Laya.Handler.create(null, (content)=>{console.log(content)})); 2019-04-25 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠...
来源: Laya_社区 发布时间: 20190425
...ite:Laya.Sprite = new Laya.Sprite(); sprite.graphics.drawCircle(0, 0, 250, null, "#ff0000", 4); sprite.graphics.drawCircle(0, 0, 350, null, "#ff0000", 4); sprite.pivotX = sprite.width * 0.5; sprite.pivotY = sprite.height * 0.5; sprite.x = this.width * 0.5; sprite.y = this.height * 0.5; this.addChild...
来源: Laya_社区 发布时间: 20180708
...tSp = new Laya.Sprite(); this.firstSp.graphics.drawRect(0, -100, 200, 200, null, "#ffffff"); this.firstSp.graphics.drawLine(0, 0, 100, 100, "#ffffff", 5); this.firstSp.graphics.drawCircle(100, 100, 20, null, "ffffff"); Laya.stage.on(Laya.Event.MOUSE_WHEEL, this, this.MouseWheel); this._rootSp.hitA...
来源: Laya_社区 发布时间: 20190314
... cAnimation("jx10","dzb/shan10.json",100,100,327,22,200,game,false,1,1,0,null,true,null); } function btn2(){//移除 game.removeChildByName("dh1"); } 2018-04-11 0 0 分享 微博 QZONE 微信 zjwytqm 赞同来自: 找到原因了, //var bounds = ani.getGraphicBounds(); //ani.pivot(...
来源: Laya_社区 发布时间: 20180411
...处理没有起作用啊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...
来源: Laya_社区 发布时间: 20200522
...ent.CLICK,this,clickFun); } private function clickFun():void { if( clip == null ){ clip = new Clip("1.png",6,6); Laya.stage.addChild(clip); clip.play(); }else{ clip.dispose(); clip = null; } } 2017-11-28 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先...
来源: Laya_社区 发布时间: 20171128
...载文件个数获取加载进度 Laya.loader.create(res,null,Laya.Handler.create(this,this.onProgress,null,false)); 2020-11-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 1605953523用户 赞...
来源: Laya_社区 发布时间: 20201130
...一个.xml文件 hrRerust.send("http://192.168.1.21:90/Game_Config.xml", null, "get", "text",null); trace(hrRerust.data); 该语句可以读取上面.xml文件的内容 但是 我用了一些方法 都无法像本地.xml被解析后存放到数组当中 请那位高手提点一下用...
来源: Laya_社区 发布时间: 20161120
... */ public function startDrag(area:Rectangle = null, hasInertia:Boolean = false, elasticDistance:Number = 0, elasticBackTime:int = 300, data:* = null, disableMouseEvent:Boolean = false, ratio:Number = 0.92):void { 2018-05-02 0 2 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20180428
...onColorPickerSkinLoaded(); } ); } private onColorPickerSkinLoaded(e: any = null): void { let colorPicker: Laya.ColorPicker = new Laya.ColorPicker(); colorPicker.selectedColor = "#ff0033"; colorPicker.skin = this.skin; colorPicker.pos(100, 100); colorPicker.changeHandler = new Laya.Handler(this, this...
来源: Laya3.0_文档 发布时间: 20251010