大约有 276 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0029 秒)
Laya_社区(102) Laya2.0_示例(102) Laya_示例(36) Laya2.0_文档(33) laya_api(1) Laya3.0_api(1) Laya2.0_api(1)
...DDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.createMap(); } createMap() { const TiledMap = Laya.TiledMap; let tiledMap = new TiledMap(); tiledMap.createMap("res/tiledMap/orthogonal-test-movelayer.json", new Laya.Rectan...
来源: Laya2.0_示例 发布时间: 20241124
...DDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; createInput(); })(); function createInput() { var inputText = new Input(); inputText.size(350, 100); inputText.x = Laya.stage.width - inputText.width >> 1; inputText.y = Laya.sta...
来源: Laya_示例 发布时间: 20241124
...DDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.createInput(); } createInput() { const Input = Laya.Input; let inputText = new Input(); Laya.stage.addChild(inputText); inputText.size(350, 100); inputText.x = Laya.stage.wi...
来源: Laya2.0_示例 发布时间: 20241124
...DDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(skin, Handler.create(this, onLoadComplete)); })(); function onLoadComplete() { var ta = new TextArea(""); ta.skin = skin; ta.font = "Arial"; ta.fontSize = 18; ta...
来源: Laya_示例 发布时间: 20241124
...DDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; createText(); })(); function createText() { var txt = new Text(); txt.text = "Layabox是HTML5引擎技术提供商与优秀的游戏发行商,面向AS/JS/TS开发者提供HTML5...
来源: Laya_示例 发布时间: 20241124
...DDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(skin, Handler.create(this, onColorPickerSkinLoaded)); })(); function onColorPickerSkinLoaded() { var colorPicker = new ColorPicker(); colorPicker.selectedColor =...
来源: Laya_示例 发布时间: 20241124
...DDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); Laya.loader.load(skin, Handler.create(this, this.onLoadComplete)); } onLoadComplete() { const TextArea = Laya.TextArea; let ta = new TextArea(""); ta.skin = skin; ta...
来源: Laya2.0_示例 发布时间: 20241124
...DDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.createText(); } createText() { const Text = Laya.Text; var txt = new Text(); Laya.stage.addChild(txt); txt.text = "Layabox是HTML5引擎技术提供商与优秀的游戏发...
来源: Laya2.0_示例 发布时间: 20241124
...DDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(skin, Handler.create(this, this.onColorPickerSkinLoaded)); } onColorPickerSkinLoaded() { const ColorPicker = Laya.ColorPicker, Handler = Laya.Handler; let colorP...
来源: Laya2.0_示例 发布时间: 20241124
...DDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; demonstrate(); })(); function demonstrate() { for (var i = 0; i < 10; i++) { Laya.timer.callLater(this, onCallLater); } } function onCallLater() { console.log("onCallLater trigge...
来源: Laya_示例 发布时间: 20241124