Пример #1
0
        public override async ETTask <UI> OnCreate(UIComponent uiComponent)
        {
            UI ui = await DUIHelper.InstantiateFromBundle(uiComponent, DUIType.UILobby);

            ui.AddComponent <DUILobbyComponent>();

            return(ui);
        }
Пример #2
0
 public override void OnRemove(UIComponent uiComponent)
 {
     DUIHelper.UnloadBundle(DUIType.UILobby);
 }