大约有 3,091 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0081 秒)
Laya_社区(2361) Laya2.0_文档(237) Laya_示例(147) Laya2.0_示例(117) Laya3.0_api(70) Laya2.0_api(64) laya_api(59) Laya3.0_文档(36)
...dArray, Handler.create(null, ()=>{ this.uiView = new SharkItOff(); Laya.stage.addChild(this.uiView); })); 先加载图集,图集加载完再new一个界面。但是界面里的图片都不显示 thekingreturn • 2018-03-27 20:42 [warn]Retry to load: games/game_13/image/shake_07.png [warn]Retry...
来源: Laya_社区 发布时间: 20180327
...ousedown") { _oldY = Laya.stage.mouseY; var itemBox:Box = _list.getCell(index); _itemHeight = itemBox.height; }else if(type.type == "mouseout") { ...
来源: Laya_社区 发布时间: 20171204
....__proto.flush (file:///F:/client_svn/h5/bin/libs/laya.core.js:5569:31) at Stage.__proto.render (file:///F:/client_svn/h5/bin/libs/laya.core.js:17348:14) at Stage.__proto._loop (file:///F:/client_svn/h5/bin/libs/laya.core.js:17274:9) at loop (file:///F:/client_svn/h5/bin/libs/laya.core.js:5061:16) 2...
来源: Laya_社区 发布时间: 20171111
... let node: Laya.Image = new Laya.Image('c1.png'); node.pos(300, 300) Laya.stage.addChild(node); var sp: Laya.Sprite = new Laya.Sprite(); node.mask = sp; sp.pos(50, 50); var sp2: Laya.Sprite = new Laya.Sprite(); sp2.pos(300, 500); Laya.stage.addChild(sp2); let r: number = 0 Laya.timer.loop(100, this,...
来源: Laya_社区 发布时间: 20190701
...uper(); //加载3D场景 //var scene: Laya.Scene3D = Laya.stage.addChild(new Laya.Scene3D()) as Laya.Scene3D; Laya.Scene3D.load("res/LayaScene_terrain/Conventional/terrain.ls",Laya.Handler.create(this,function(scene:Laya.Scene3D){ Laya.stage.addChild(scene) as Laya.Scene3D; console....
来源: Laya_社区 发布时间: 20190426
...eight: 100 }); var url: string = this.URL; this.qrcode.makeCode(url); Laya.stage.once("click", this, this.clickHandler); this.qrcodeSp = new Laya.Sprite(); Laya.stage.addChild(this.qrcodeSp); } private clickHandler(): void { var url: string = this.qrcode._oDrawing._elImage.src;//获取,注意这...
来源: Laya_社区 发布时间: 20180412
...展示界面 Laya.init(scronw, scronh) //设置舞台背景色 Laya.stage.bgColor = '#999999'; //设置适配模式 Laya.stage.scaleMode = "exactfit"; // 无加载失败重试 Laya.loader.retryNum = 0; //加载的数据信息 https://layaair.ldc.layabox.co ... oader var...
来源: Laya_社区 发布时间: 20171024
...动条皮肤 panel.vScrollBarSkin = "comp/vscroll.png"; //将panel添加到stage上 Laya.stage.addChild(panel); //实例化Image组件 var img:Image = new Image(); //给image添加皮肤 img.skin = "comp/image.png"; //将image添加到panel组件中 panel.addChild(img); } } } ```
来源: Laya2.0_文档 发布时间: 20210715
...rt laya.display.Animation; import laya.display.Sprite; import laya.display.Stage; import laya.utils.Handler; import laya.net.Loader; import laya.events.Event; public class LayaUISample { protected var text:Text; protected var aaa:AAA; public function LayaUISample() { Laya.init(1540, 990); Laya.Stat....
来源: Laya_社区 发布时间: 20161026
...bel.text=' I am a Label!' box.addChild(image); box.addChild(label); Laya.stage.addChild(box); 2017-04-21 1 3 分享 微博 QZONE 微信 zhang92tong 赞同来自: 太感谢老师了! 2017-04-21 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发...
来源: Laya_社区 发布时间: 20170421