大约有 276 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0036 秒)
Laya_社区(102) Laya2.0_示例(102) Laya_示例(36) Laya2.0_文档(33) laya_api(1) Laya3.0_api(1) Laya2.0_api(1)
...e.alignH = Stage.ALIGN_CENTER; //等比缩放 Laya.stage.scaleMode = Stage.SCALE_SHOWALL; //背景颜色 Laya.stage.bgColor = "#232628"; //创建列表 createList(); } /***创建list列表**/ private function createList():void { //实例化列表 var list:List = new List(); //设置列表渲染单...
来源: Laya2.0_文档 发布时间: 20210715
...DDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); this.init(); } init() { const Sprite = Laya.Sprite, Animation = Laya.Animation, Text = Laya.Text, Event = Laya.Event; // 创建背景 this.spBg = Sprite.fromImage(Pa...
来源: Laya2.0_示例 发布时间: 20241124
...DDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); this.setup(); } setup() { this.buildWorld(); this.createLogger(); } buildWorld() { const Event = Laya.Event; this.createCoralRect(); this.createDeepSkyblueRect(); th...
来源: Laya2.0_示例 发布时间: 20241124
...DDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); this.bgColorTweener = new Tween(); this.setup(); } setup() { this.createPhoenixes(); // 动态背景渲染 this.evalBgColor(); Laya.timer.frameLoop(1, this, this.ren...
来源: Laya2.0_示例 发布时间: 20241124
...DDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); this.setup(); } setup() { this.createSprite(); this.drawTrack(); } createSprite() { const Sprite = Laya.Sprite, Event = Laya.Event; const w = 50; const h = 30; this....
来源: Laya2.0_示例 发布时间: 20241124
...DDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; // 初始化蛇 this.initSnake(); // 监视加速器状态 Accelerator.instance.on(Event.CHANGE, this, this.monitorAccelerator); // 游戏循环 Laya.timer.frameLoop(1, this, thi...
来源: Laya2.0_示例 发布时间: 20241124
...DDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; var res = [ "../../res/ui/vscroll.png", "../../res/ui/vscroll$bar.png", "../../res/ui/vscroll$down.png", "../../res/ui/vscroll$up.png", "../../res/ui/tree/clip_selectBox.png", "....
来源: Laya2.0_文档 发布时间: 20210715
...DDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; var res: Array = [ "res/ui/vscroll.png", "res/ui/vscroll$bar.png", "res/ui/vscroll$down.png", "res/ui/vscroll$up.png", "res/ui/tree/clip_selectBox.png", "res/ui/tree/clip_tree_fo...
来源: Laya2.0_文档 发布时间: 20210714
...e.alignH = Stage.ALIGN_CENTER; //等比缩放 Laya.stage.scaleMode = Stage.SCALE_SHOWALL; //背景颜色 Laya.stage.bgColor = "#232628"; //图像资源 var res:Array = [ "../../../../res/ui/vscroll.png", "../../../../res/ui/vscroll$bar.png", "../../../../res/ui/vscroll$down.png", "../../../../res/ui...
来源: Laya2.0_文档 发布时间: 20210715
...DDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); this.setup(); } setup() { this.createInteractiveTarget(); this.createLogger(); } createInteractiveTarget() { const Event = Laya.Event, Sprite = Laya.Sprite; let rect...
来源: Laya2.0_示例 发布时间: 20241124