大约有 1,873 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0066 秒)
Laya_社区(617) Laya3.0_api(529) Laya2.0_api(242) laya_api(178) Laya2.0_文档(88) Laya_示例(78) Laya3.0_文档(73) Laya2.0_示例(68)
...] Starting 'createAdapter_VIVO'... Failed to get the local adapter version number 安装@qgame/adapter 叔年心~厌世 • 2020-08-18 09:49 是这个吗
来源: Laya_社区 发布时间: 20200817
...tlas", "type":Laya.loader.ATLAS }, { 'url': "res/atlas/number.atlas", "type":Laya.loader.ATLAS }, { "url": 'res/atlas/battle.atlas', "type":Laya.loader.ATLAS } , { "url": 'res/atlas/battle/box.atlas', "type":Laya.loader.ATLAS...
来源: Laya_社区 发布时间: 20180525
...s Main { private _roomId = 0; constructor(roomId?: number) { this._roomId = roomId; Laya.init(750, 1218, Laya.WebGL); Laya.Browser.document.title = 'GG游戏; if (Laya.Browser.onPC) { ...
来源: Laya_社区 发布时间: 20181208
...is, this.onChange); this.owner.addChild(hs); }); } private onChange(value: number): void { this.text.text = "滚动条的位置: value=" + value; } } 运行效果: (动图2-1) Copyright ©Layabox 2026 all right reserved,powered by LayaAir Engine更新时间: 2025-10-10 16:27:59 img{curso...
来源: Laya3.0_文档 发布时间: 20251010
...is, this.onChange); this.owner.addChild(vs); }); } private onChange(value: number): void { this.text.text = "滚动条的位置: value=" + value; } } 运行效果: (动图2-1) Copyright ©Layabox 2026 all right reserved,powered by LayaAir Engine更新时间: 2025-10-10 16:27:59 img{curso...
来源: Laya3.0_文档 发布时间: 20251010
...m; if (progress instanceof Handler) { let h = progress; progress = (value: number) => h.runWith(value); } // @ts-ignore return Scene._load(url, progress).then(scene => { scene.open(closeOther, param); if (complete instanceof Handler) complete.runWith(scene); else if (complete) complete(scene);...
来源: Laya_社区 发布时间: 20250609
...L = Laya.WebGL; export class Interaction_Hold { private HOLD_TRIGGER_TIME: number = 1000; private apePath: string = "../../res/apes/monkey2.png"; //触发hold事件时间为1秒 private ape: Sprite; private isApeHold: Boolean; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Brows...
来源: Laya_示例 发布时间: 20260303
...abel(color: string, strokeColor: string): Laya.Label { const STROKE_WIDTH: number = 4; var label: Laya.Label = new Label(); label.font = "Microsoft YaHei"; label.text = "SAMPLE DEMO"; label.fontSize = 30; label.color = color; if (strokeColor) { label.stroke = STROKE_WIDTH; label.strokeColor = stroke...
来源: Laya3.0_文档 发布时间: 20251010
...L = Laya.WebGL; export class Interaction_Hold { private HOLD_TRIGGER_TIME: number = 1000; private apePath: string = "res/apes/monkey2.png"; //触发hold事件时间为1秒 private ape: Sprite; private isApeHold: Boolean; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.cli...
来源: Laya2.0_示例 发布时间: 20260303
...适配一下高刷新率。提议将【Laya.stage.frameRate】改为接收number类型参数。即【Laya.stage.frameRate = 120】即可实现120帧刷新率,使用【Laya.stage.frameRate = 0】替代【Laya.Stage.FRAME_MOUSE】,而【Laya.stage.frameRate = -1】则不限制刷新率,自动...
来源: Laya_社区 发布时间: 20240701