大约有 2,310 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0061 秒)
Laya_社区(1513) Laya2.0_文档(259) Laya_示例(138) Laya2.0_示例(101) Laya3.0_api(80) Laya3.0_文档(75) Laya2.0_api(74) laya_api(70)
...ScrollBarSkin = "comp/vscroll.png"; //将panel添加到stage上 Laya.stage.addChild(panel); //实例化Image组件 var img = new Laya.Image(); //给image添加皮肤 img.skin = "comp/image.png"; //将image添加到panel组件中 panel.addChild(img); } ```
来源: Laya2.0_文档 发布时间: 20210715
...c.graphics.drawTexture(Laya.loader.getRes(picUrl), picX, picY); Laya.stage.addChild(pic); } } } Main.as package { import laya.display.*; import laya.resource.Texture; import laya.ui.Image; import laya.utils.Handler; import addPic; public class Main { private var bgImage:Image; private var bgRes:S...
来源: Laya_社区 发布时间: 20170522
... // sp3.pos(Laya.stage.width/2,0); Laya.stage.addChild(sp3); Laya.timer.frameLoop(2,null,function() { sp3.rotation = sp3.rotation+10; } ); 2019-11-12 0 0 分...
来源: Laya_社区 发布时间: 20191112
... apesCtn=new Sprite() Laya.stage.addChild(apesCtn); for (var i:int = 0; i < 4; i++ ) { Laya.loader.load(picAy[i],Handler.create(this, onAssetLoaded)) } ...
来源: Laya_社区 发布时间: 20161023
...el/hanbao.lh"); goldNode = this.scene_3d.addChild(sp); goldNode.transform.localPosition = new Laya.Vector3(this.startPos.x + (4.5 - Math.random() * 9), this.startPos.y, this.startPos.z + (2.5 - Math.random() * 5)); ...
来源: Laya_社区 发布时间: 20200326
...': play = false; break; } if (play) { frame.rotation=frameRotation; sprite.addChild(frame); frame.pos(frameX, frameY); frame.emitter.start(); frame.play(); } else { sprite.removeChildren(); } })); } else { return; } } 2019-07-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...
来源: Laya_社区 发布时间: 20190723
...ScrollBarSkin = "comp/vscroll.png"; //将panel添加到stage上 Laya.stage.addChild(panel); //实例化Image组件 var img: Laya.Image = new Laya.Image(); //给image添加皮肤 img.skin = "comp/image.png"; //将image添加到panel组件中 panel.addChild(img); } } new PanelTest(); ```
来源: Laya2.0_文档 发布时间: 20210715
...D = new Laya.MeshSprite3D(Laya.PrimitiveMesh.createSphere(1)); this.scene1.addChild(ball); ball.transform.position = new Laya.Vector3((Math.random() - 0.5) * 2, 10, 17); //添加刚体 ball.addComponent(Laya.PhysicsCollider); let ballrigid: Laya.Rigidbody3D = ball.addComponent(Laya.Rigidbody3D...
来源: Laya_社区 发布时间: 20190506
...atlas/clanwar_bg.jpg?" + Math.random(); Laya.stage.addChild(image); var index:int = 0; Laya.stage.timerLoop(1, this, function():void{index++;image.alpha = Math.sin(Math.PI*2*(index/24))}) var image:Im...
来源: Laya_社区 发布时间: 20190110
...s.are.width, this.are.height, "#00ff00"); _fish.x = 300 _fish.y = 200 this.addChild(_fish); Laya.timer.loop(100, this, function () { console.log(_fish.x, _fish.y, _fish.width, _fish.height, _fish.rotation); if (_fish.hitTestPoint(_fish.x, _fish.y)) { console.log("hittttttt"); } }); } } //程序入...
来源: Laya_社区 发布时间: 20180315