大约有 753 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0060 秒)
Laya_社区(549) Laya2.0_文档(76) Laya3.0_文档(31) Laya3.0_api(24) laya_api(23) Laya2.0_api(21) Laya2.0_示例(15) Laya_示例(14)
... var image:Image = new Image(); image.skin = "res/atlas/clanwar_bg.jpg?" + Math.random(); Laya.stage.addChild(image); var index:int = 0; Laya.stage.timerLoop(1, this, function():void{index+...
来源: Laya_社区 发布时间: 20190110
...代码来创建 var box=new Laya.Box(); var image=new Laya.Image(); image.skin='res/001.png'; var label=new Laya.label(); label.text=' I am a Label!' box.addChild(image); box.addChild(label); Laya.stage.addChild(box); 2017-04-21 1 3 分享 微博 QZONE 微信 zhang92tong 赞同来自: 太感谢...
来源: Laya_社区 发布时间: 20170421
...===void 0)&& (clipY=1); this._clipX=clipX; this._clipY=clipY; this.skin=url; } __class(LabelAtlas,'laya.customUI.LabelAtlas',_super); var __proto=LabelAtlas.prototype; return LabelAtlas; })(Clip) xml如下: <?xml version="1.0" encoding="utf-8"?> <uiComp> <...
来源: Laya_社区 发布时间: 20170206
...里选择一个 VScrollBar 组件,将VScrollBar 组件的资源地址(skin 属性值)设置为 Tree 组件属性scrollBarSkin 的值。  (图) ####5. 调整 Tree 的宽高。 设置 Tree 对象的属性 var(全局引用名)的值为 m_tree ,此...
来源: Laya2.0_文档 发布时间: 20210715
...增,这是为啥了? fish.scoreItem = new Laya.Image(); fish.scoreItem.skin = "assets/ui_imgs/img_10103.png"; fish.scoreItem.sizeGrid = '0,10,0,10'; var price = this.getFishVal('10001', 3); var length = String(price).length; var w = length * 16 + 15 + 40; fish.scoreItem.width = w; fish...
来源: Laya_社区 发布时间: 20180516
...nction Main() { //初始化引擎 Laya.init(500,500);//初始化引擎 var skins:Array = [ "res/button-1.png" ]; Laya.loader.load(skins, Handler.create(this, onUIAssetsLoaded)); } public function onUIAssetsLoaded():void { var btn:Button = new Button("res/button-1.png"); Laya.stage.addChild(btn); //...
来源: Laya_社区 发布时间: 20180529
...里选择一个 VScrollBar 组件,将VScrollBar 组件的资源地址(skin 属性值)设置为 Tree 组件属性scrollBarSkin 的值。  (图) ####5. 调整 Tree 的宽高。 设置 Tree 对象的属性 var(全局引用名)的值为 m_tree ,此...
来源: Laya2.0_文档 发布时间: 20210714
... Image和Clip组件是唯一支持异步加载的两个组件,比如img.skin = "abc/xxx.png",其他UI组件均不支持异步加载。 See alsolaya.ui.AutoBitmapPublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值...
来源: laya_api 发布时间: 20170929
... var hero = sphere.addChild(Laya.Sprite3D.load("./res/Xinzhaoyun/Zhaoyun_skin.lh")); var ani = hero.addComponent(Laya.SkinAnimations); ani.templet = Laya.AnimationTemplet.load("./res/Xinzhaoyun/Zhaoyun_standfight.lsani"); ani.player.play(); ...
来源: Laya_社区 发布时间: 20161205
... Image和Clip组件是唯一支持异步加载的两个组件,比如img.skin = "abc/xxx.png",其他UI组件均不支持异步加载。 See alsolaya.ui.AutoBitmapPublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身...
来源: Laya2.0_api 发布时间: 20190513