- using ET.EventType;
- namespace ET
- {
- [Event(SceneType.Process)]
- public class EntryLoadCfg_Server : AEvent<EventType.EntryLoadCfg>
- {
- protected override async ETTask Run(Scene scene, EntryLoadCfg a)
- {
- await Game.AddSingleton<ConfigComponent>().LoadAsync();
- }
- }
- }
|