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

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

1. UI-Tree [ 100%]

... [{"type": "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"}}, {"typ...

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

2. 音频-播放演示 [ 70%]

...awRect(0, 0, w, h, "#FF7F50"); btn.graphics.fillText(labelText, w / 2, 8, "24px SimHei", "#FFFFFF", "center"); return btn; } // 播放音效 onPlaySound() { console.log("播放音效"); Laya.SoundManager.playSound("res/sounds/btn.mp3", 1, new Laya.Handler(this, this.onComplete)); } // 播放音乐 o...

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

3. UI-RefreshList [ 49%]

...tSize = 25; this.loadingLabel.color = "#a6a6a6"; this.loadingLabel.pos(61, 24); this.refreshLoading.addChild(this.loadingLabel); Laya.stage.addChild(this.baseBox); // 列表 this.refreshList = new List(); this.refreshList.repeatX = 1; this.refreshList.elasticEnabled = true; this.refreshList.selectEn...

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