using ET.EventType; namespace ET.Client { [Event] public class EntryEvent3_InitClient : BEvent { protected override async ETTask OnEvent(EntryEvent3 a) { Game.AddSingleton(); Game.AddSingleton(); Game.AddSingleton(); Game.AddSingleton(); Game.AddSingleton(); await SceneFactory.CreateClientScene( 1, "Game" ); await EventSystem.Instance.PublishWait(); } } }