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

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

1. UI-List [ 100%]

...Enable = true; list.selectHandler = new Handler(this, this.onSelect); list.renderHandler = new Handler(this, this.updateItem); // 设置数据项为对应图片的路径 let data = []; for (let i = 0; i = []; for (var i: number = 0; i < 10; ++i) { data.push("res/ui/listskins/1.jpg"); data.push("res/...

来源: Laya2.0_示例 发布时间: 20240929

2. IDE-显示IDE创建的界面 [ 95%]

...自定义list渲染方式,可以打开下面注释看一下效果 //list.renderHandler = new Handler(this, onListRender); } private onListRender(item: Laya.Box, index: number): void { //自定义list的渲染方式 var label: Label = item.getChildByName("label") as Label; if (index % 2) { label.co...

来源: Laya2.0_示例 发布时间: 20200319

3. 缓动-缓动函数演示 [ 94%]

...r(this, this.onEaseFunctionChange, [easeFunctionsList]); easeFunctionsList.renderHandler = new Handler(this, this.renderList); Laya.stage.addChild(easeFunctionsList); let data = []; data.push('backIn', 'backOut', 'backInOut'); data.push('bounceIn', 'bounceOut', 'bounceInOut'); data.push('circIn', 'c...

来源: Laya2.0_示例 发布时间: 20240929