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

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

181. UI-Button [ 73%]

...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_示例 发布时间: 20251130

182. UI-Button [ 73%]

...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" ]...

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

183. 鼠标交互-键盘交互 [ 73%]

...Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); this.setup(); } setup() { this.listenKeyboard(); this.createLogger(); Laya.timer.frameLoop(1, this, this.keyboardInspector); } listenKeyboard() { const Event = Laya.Event;...

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

184. 手机端上web项,调用软键盘后的萤幕适配问题 [ 73%]

....isAlpha = true; Laya.init(1366, 768, Laya.WebGL); Laya.stage.scaleMode = 'showall'; Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; Laya.stage.bgColor = "none"; Laya.stage.frameRate = "slow"; 用同样的配置在范例实作却可以 请问还有什麽因...

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

185. UI-CheckBox [ 73%]

...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.loader....

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

186. UI-Slider [ 73%]

...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.create(...

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

187. UI-CheckBox [ 73%]

...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...

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

188. 修改stage的scale后,会发生异常情况 [ 73%]

...GN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; 2017-11-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Monica - 知识达人 赞同来自: ymsdandan 、c416288806 showall模...

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

189. 请教Tiledmap背景图片大小的问题 [ 73%]

...版本:1.7.16) 求助关于TiledMap的版本问题 关于适配采用showAll后留白部分的颜色问题 IDE1.7.8 json图集加载问题 求指点3d射线碰撞和UI点击穿透的问题 关于shader中opengl函数问题 mask在layaplayer中有问题 关于主程序过大的问题 问题状态...

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

190. UI-ScrollBar [ 73%]

...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/vscroll...

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