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

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

1. UI-List [ 100%]

...= "#232628"; setup(); })(); function setup() { var list = new List(); list.itemRender = Item; list.repeatX = 1; list.repeatY = 4; list.x = (Laya.stage.width - WID) / 2; list.y = (Laya.stage.height - HEI * list.repeatY) / 2; // 使用但隐藏滚动条 list.vScrollBarSkin = ""; list.selectEnable = tr...

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

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

...{ // 项渲染器 var Box = Laya.Box; var Label = Laya.Label; function ListItemRender() { var label = null; ListItemRender.__super.call(this); this.size(100, 20); label = new Label(); label.fontSize = 12; label.color = "#FFFFFF"; this.addChild(label); this.setLabel = function(value) { label.text = v...

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

3. UI-Tree [ 89%]

...r tree = new Tree(); tree.scrollBarSkin = "../../res/ui/vscroll.png"; tree.itemRender = Item; tree.xml = xml; tree.size(300, 300); tree.x = (Laya.stage.width - tree.width) / 2; tree.y = (Laya.stage.height - tree.height) / 2; Laya.stage.addChild(tree); } })();module laya { import Stage = Laya.Stage; ...

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