fix: 更新提交

This commit is contained in:
han_han9
2025-11-26 22:57:07 +08:00
parent 8a6620cf8f
commit 4c16bec13f
640 changed files with 70914 additions and 13327 deletions

View File

@@ -1,9 +1,9 @@
import BaseToast from "@max-studio/core/ui/BaseToast";
import { uiConfig, UIType } from "@max-studio/core/ui/UIDecorator";
import UIManager from "@max-studio/core/ui/UIManager";
import { SpriteAtlas, tween, Vec3, UITransform } from "cc";
import { SpriteAtlas, tween, Vec3 } from "cc";
import { RichText } from "cc";
import { _decorator, Component, Node } from "cc";
import { _decorator, Node } from "cc";
const { ccclass, property } = _decorator;
@uiConfig({

View File

@@ -1,14 +1,10 @@
import { _decorator } from "cc";
import { _decorator, SpriteFrame } from "cc";
import BaseLayer from "@max-studio/core/ui/BaseLayer";
import { uiConfig, UIType } from "@max-studio/core/ui/UIDecorator";
import UIManager from "@max-studio/core/ui/UIManager";
import { CommonDialogBox } from "./CommonDialogBox";
import { CommonToast } from "./CommonToast";
import { ResManager } from "@max-studio/core/res/ResManager";
import { SpriteAtlas } from "cc";
import { uiConfig } from "@max-studio/core/ui/UIDecorator";
const { ccclass, property, menu } = _decorator;
const globalSpriteFrame: SpriteFrame | null = null; // 全局变量
@ccclass("MainUI")
@uiConfig({
@@ -17,6 +13,4 @@ const { ccclass, property, menu } = _decorator;
isCache: false,
})
@menu("max/ui/MainUI")
export class MainUI extends BaseLayer {
async onShow(...args: any[]) {}
}
export class MainUI extends BaseLayer {}

View File

@@ -17,7 +17,7 @@ const { ccclass, property, menu } = _decorator;
export class ShopUI extends BaseLayer {
protected onLoad(): void {
// ProtoDefinitions.pkg1.User
let user = new ProtoDefinitions.pkg1.User();
const user = new ProtoDefinitions.pkg1.User();
console.log(user, ProtoDefinitions.pkg1.User.encode(user));
}
}