大约有 5 项符合查询结果, 库内数据总量为 30,936 项。 (搜索耗时: 0.0016 秒)
...Stat.show(); Laya.loader.load(partPath, Laya.Handler.create(this, this.onAssetsLoaded), null, Loader.JSON); } onAssetsLoaded(settings) { // 当load数组的时候,回调函数传入的参数不再是资源,可以通过以下方法获取资源 // let settings = Laya.loader.getRes(partPath); const...
来源: Laya2.0_示例 发布时间: 20250313
...Stat.show(); Laya.loader.load(partPath, Laya.Handler.create(this, this.onAssetsLoaded), null, Loader.JSON); } onAssetsLoaded(settings) { // 当load数组的时候,回调函数传入的参数不再是资源,可以通过以下方法获取资源 // let settings = Laya.loader.getRes(partPath); const...
来源: Laya2.0_示例 发布时间: 20250313
...Stat.show(); Laya.loader.load(partPath, Laya.Handler.create(this, this.onAssetsLoaded), null, Loader.JSON); } onAssetsLoaded(settings) { // 当load数组的时候,回调函数传入的参数不再是资源,可以通过以下方法获取资源 // let settings = Laya.loader.getRes(partPath); const...
来源: Laya2.0_示例 发布时间: 20250313
...e = 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; // 用Set实现更好一些 keyDownList = []; // 添加键...
来源: Laya2.0_示例 发布时间: 20250313
... = 130; this.flag.height = 80; this.flag.mouseEnabled = true; this.flag.mouseThrough = false; this.flagText = new Text(); this.flag.addChild(this.flagText); this.flagText.text = "标记未读"; this.flagText.font = "Microsoft YaHei"; this.flagText.fontSize = 25; this.flagText.color = "#ffffff"; this...
来源: Laya2.0_示例 发布时间: 20250313