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