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

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

51. UI-Tab [ 75%]

...DDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); Laya.loader.load(skins, Handler.create(this, this.onSkinLoaded)); } onSkinLoaded() { let tabA = this.createTab(skins[0]); tabA.pos(40, 120); tabA.labelColors = "#000...

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

52. UI-Slider [ 74%]

...DDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; var skins = []; skins.push("../../res/ui/hslider.png", "../../res/ui/hslider$bar.png"); skins.push("../../res/ui/vslider.png", "../../res/ui/vslider$bar.png"); Laya.loader.load(s...

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

53. UI-Button [ 74%]

...DDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; skins = [ "res/ui/button-1.png", "res/ui/button-2.png", "res/ui/button-3.png", "res/ui/button-4.png", "res/ui/button-5.png", "res/ui/button-6.png" ]; // 计算将Button至于舞...

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

54. UI-Button [ 74%]

...DDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; skins = [ "../../res/ui/button-1.png", "../../res/ui/button-2.png", "../../res/ui/button-3.png", "../../res/ui/button-4.png", "../../res/ui/button-5.png", "../../res/ui/button-6....

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

55. UI-CheckBox [ 74%]

...DDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; skins = ["res/ui/checkbox (1).png", "res/ui/checkbox (2).png", "res/ui/checkbox (3).png", "res/ui/checkbox (4).png", "res/ui/checkbox (5).png", "res/ui/checkbox (6).png"]; Laya.l...

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

56. UI-Slider [ 74%]

...DDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); skins = []; skins.push("res/ui/hslider.png", "res/ui/hslider$bar.png"); skins.push("res/ui/vslider.png", "res/ui/vslider$bar.png"); Laya.loader.load(skins, Handler.c...

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

57. UI-CheckBox [ 74%]

...DDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; skins = ["../../res/ui/checkbox (1).png", "../../res/ui/checkbox (2).png", "../../res/ui/checkbox (3).png", "../../res/ui/checkbox (4).png", "../../res/ui/checkbox (5).png", "../...

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

58. UI-ScrollBar [ 73%]

...DDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; var skins = []; skins.push("../../res/ui/hscroll.png", "../../res/ui/hscroll$bar.png", "../../res/ui/hscroll$down.png", "../../res/ui/hscroll$up.png"); skins.push("../../res/ui/v...

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

59. viewportPointToRay产生的射线始终有偏差,是为什么? [ 73%]

...间有偏差~ 测试主要是因为: Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; 这个缩放模式引起的,这种模式下有什么特别要注意的地方么,构造Ray的时候~import Camera = Laya.Camera; import PhasorSpriter3D = Laya.PhasorSpriter3D; import Ray = Laya.Ray; import Ren...

来源: Laya_社区 发布时间: 20180201

60. UI-ScrollBar [ 73%]

...DDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; skins = []; skins.push("res/ui/hscroll.png", "res/ui/hscroll$bar.png", "res/ui/hscroll$down.png", "res/ui/hscroll$up.png"); skins.push("res/ui/vscroll.png", "res/ui/vscroll$bar.p...

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