1234567891011121314151617181920 |
- namespace ET.Client
- {
- [Event]
- public class EntryEvent2_InitClient : BEvent<ET.EventType.EntryEvent2>
- {
- protected override async ETTask OnEvent(ET.EventType.EntryEvent2 args)
- {
- Game.AddSingleton<GameSetting>();
-
- Game.AddSingleton<BattleResourceMgr>();
- Game.AddSingleton<BattleUnitFactory>();
- Game.AddSingleton<SkillMgr>();
- Game.AddSingleton<UnitMgr>();
- Game.AddSingleton<BattleMgr>();
- await ETTask.CompletedTask;
- }
- }
- }
|