• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 3 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0010 秒)

1. UI-Tab [ 100%]

...addChild(tab); return tab; } function onSelect(index) { console.log("当前选择的标签页索引为 " + index); } })();module laya { import Stage = Laya.Stage; import Tab = Laya.Tab; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_Tab { private skins: Array = ["../../res...

来源: Laya_示例 发布时间: 20240930

2. UI-RadioGroup [ 88%]

...return rg; } private onSelectChange(index: number): void { console.log("你选择了第 " + (index + 1) + " 项"); } } } new laya.UI_RadioGroup();package { import laya.display.Stage; import laya.ui.RadioGroup; import laya.utils.Handler; import laya.webgl.WebGL; public class UI_RadioGroup { private c...

来源: Laya_示例 发布时间: 20240930

3. UI-List [ 86%]

....dataSource); } private onSelect(index: number): void { console.log("当前选择的索引:" + index); } } import Box = Laya.Box; import Image = Laya.Image; class Item extends Box { public static WID: number = 373; public static HEI: number = 85; private img: Image; constructor(){ super(); this.si...

来源: Laya_示例 发布时间: 20240930