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

大约有 4 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0015 秒)

1. UI-Tree [ 100%]

...pe": "Clip", "props": {"x": "13", "y": "0", "left": "12", "height": "24", "name": "selectBox", "skin": "ui/clip_selectBox.png", "right": "0", "clipY": "2"}}, {"type": "Clip", "props": {"y": "4", "x": "14", "name": "folder", "clipX": "1", "skin": "ui/clip_tree_folder.png", "clipY": "3"}}, {"type": "L...

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

2. Sprite-屏幕截图 [ 94%]

...ng", "res/threeDimen/ui/button.png", "res/threeDimen/ui/button.png"]; this.nameArr = ["canvas截图","sprite截图","清理"]; this._canvas = null; this.aimSp = null; this.drawImage = null; this.drawSp = null; this.monkeyTexture = null; // 不支持WebGL时自动切换至Canvas Config.preserveDrawin...

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

3. UI-Dialog [ 84%]

...ssets[0]); dialog.addChild(bg); let button = new Button(assets[1]); button.name = Dialog.CLOSE; button.pos(DIALOG_WIDTH - CLOSE_BTN_WIDTH - CLOSE_BTN_PADDING, CLOSE_BTN_PADDING); dialog.addChild(button); dialog.dragArea = "0,0," + DIALOG_WIDTH + "," + DIALOG_HEIGHT; dialog.show(); } } new UI_Dialog(...

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

4. UI-RefreshList [ 81%]

...格索引 */ /** * 处理列表刷新数据时的限制 * @paramthis.eventName = null; 要侦听的事件名 * @paramthis.moveLimit = null; 移动距离的上限,达到上限后才会抛出要侦听的事件 * @paramthis.distance = null; 相对布局,位于父节点的距离 * @paramthis.time = ...

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