大约有 4 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0014 秒)
...三种开发语言、LayaAirIDE让项目开发更高效。let COLUMNS = 2, BUTTON_WIDTH = 147, BUTTON_HEIGHT = 165 / 3, HORIZONTAL_SPACING = 200, VERTICAL_SPACING = 100, xOffset, yOffset, skins; class UI_Button { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, S...
来源: Laya2.0_示例 发布时间: 20241118
...; } onSkinLoadComplete() { const Dialog = Laya.Dialog, Image = Laya.Image, Button = Laya.Button; let dialog = new Dialog(); let bg = new Image(assets[0]); dialog.addChild(bg); let button = new Button(assets[1]); button.name = Dialog.CLOSE; button.pos(DIALOG_WIDTH - CLOSE_BTN_WIDTH - CLOSE_BTN_PADDIN...
来源: Laya2.0_示例 发布时间: 20241118
...、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。let buttonSkin = "res/ui/button-7.png", clipSkin = "res/ui/num0-9.png", bgSkin = "res/ui/coutDown.png", currFrame; class UI_Clip { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya....
来源: Laya2.0_示例 发布时间: 20241118
... WebGL = Laya.WebGL, Stage = Laya.Stage; this.btnArr = ["res/threeDimen/ui/button.png", "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.mo...
来源: Laya2.0_示例 发布时间: 20241118