feat(游戏数据): 在SingletonModuleComp中添加coin属性
添加coin属性以支持游戏中的货币系统
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user