- namespace ET
- {
- [Event]
- public class EntryEvent1_InitShare: BEvent<EventType.EntryEvent1>
- {
- protected override async ETTask OnEvent(EventType.EntryEvent1 args)
- {
- Root.Instance.Scene.AddComponent<NetThreadComponent>();
- Root.Instance.Scene.AddComponent<OpcodeTypeComponent>();
- Root.Instance.Scene.AddComponent<MessageDispatcherComponent>();
- Root.Instance.Scene.AddComponent<ClientSceneManagerComponent>();
- await ETTask.CompletedTask;
- }
- }
- }
|