public override async ETTask <UI> OnCreate(UIComponent uiComponent) { UI ui = await DUIHelper.InstantiateFromBundle(uiComponent, DUIType.UILobby); ui.AddComponent <DUILobbyComponent>(); return(ui); }
public override void OnRemove(UIComponent uiComponent) { DUIHelper.UnloadBundle(DUIType.UILobby); }