大约有 245 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0046 秒)
Laya_社区(204) Laya2.0_文档(10) Laya3.0_文档(6) Laya3.0_api(6) Laya2.0_示例(6) Laya_示例(5) Laya2.0_api(5) laya_api(3)
...aram); let imgArray = ; for (let i = 1; i < 7; i++) { imgArray.push(`ui/bg_help_0${i}.png`) } this.list_rule.array = imgArray; } public updateItem(cell: Laya.Box, index: number): void { let img_rule = cell.getChildByName("img_rule") as Laya.Image; img_rule.skin = cell.dataSource let text_info = c...
来源: Laya_社区 发布时间: 20170215
...Bounds方法获取。设置为true,对性能有一定影响。 Sprite bg : AutoBitmap 表示此对象包含的文本背景 AutoBitmap 组件实例。 TextInput bgColor : String 文本背景颜色,以字符串表示。 Label blendMode : String指定要使用的混合模式。目前只支持"...
来源: laya_api 发布时间: 20170929
...模型数据没有卸载 代码是 /* * 场景资源 */ this.m_info_bg = null; this.m_gun_root = null; this.m_complete = null; /* * 战场数据 */ this._NormalBattleInfo = null; this._InfiniteBattleInfo = null; this._zombie_info_obj = null; this.m_fight_2d_root.destroy();//销毁场景...
来源: Laya_社区 发布时间: 20191102
...urn this.uiView={"type":"View","child":[{"props":{"x":0,"y":0,"skin":"comp/bg.png","sizeGrid":"30,4,4,4","width":600,"height":400},"type":"Image"},{"props":{"x":41,"y":56,"skin":"comp/button.png","label":"点我赋值","width":150,"height":37,"sizeGrid":"4,4,4,4","var":"btn"},"type":"Button"},{"prop...
来源: Laya_社区 发布时间: 20170330
...我翻倍的增加,如何解决 _proto.room_xinxi=function(){ this.roombg=new Laya.Image($mj.Curr_Game_ImagePath + "hall/room_bg.png"); this.roombg.pos(50,150); this.addChild(this.roombg); var button = new Sprite(); button.loadImage($mj.Curr_Game_ImagePath + "hall/room_jiesan.png"); button.pos(300...
来源: Laya_社区 发布时间: 20170920
...m { export class GmPanelUI extends Laya.Base { public bg:Laya.Sprite; public input:Laya.TextInput; public btnSend:Laya.Button; public btnClose:Laya.Button; constructor(){ super()} createChildren():void { ...
来源: Laya_社区 发布时间: 20190128
... Sprite bar : Image[read-only] 获取进度条对象。 ProgressBar bg : Image[read-only] 获取背景条对象。 ProgressBar blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(...
来源: laya_api 发布时间: 20170929
...{ let resArr: Array<any> = [ { url: "resources/UI/images/dsgame/bgImage2.jpg", type: Laya.Loader.IMAGE }, { url: "resources/UI/images/dsgame/index_bg.jpg", type: Laya.Loader.IMAGE }, { url: "resources/UI/images/dsgame/say_right2.png", type: Laya.Loader.IMAGE }, { ...
来源: Laya_社区 发布时间: 20230713
... Sprite bar : Image[read-only] 获取进度条对象。 ProgressBar bg : Image[read-only] 获取背景条对象。 ProgressBar blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(...
来源: Laya2.0_api 发布时间: 20190513
...urn this.uiView={"type":"View","child":[{"props":{"x":0,"y":0,"skin":"comp/bg.png","sizeGrid":"30,4,4,4","width":600,"height":400},"type":"Image"},{"props":{"x":41,"y":56,"skin":"comp/button.png","label":"点我赋值","width":150,"height":37,"sizeGrid":"4,4,4,4","var":"btn"},"type":"Button"},{"prop...
来源: Laya_社区 发布时间: 20170330