feat(游戏数据): 在SingletonModuleComp中添加coin属性

添加coin属性以支持游戏中的货币系统
This commit is contained in:
panw
2026-01-05 09:31:05 +08:00
parent fe64f5bc87
commit 08487cd944
2 changed files with 1 additions and 0 deletions

View File

@@ -48,6 +48,7 @@ export class SingletonModuleComp extends ecs.Comp {
meat:0,
exp:0,
task:0,
coin:0,
}
fight_hero: number = 5001; // 单个出战英雄
heros:any= [5001,5002]