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