public override async ETTask <UI> OnCreate(UIComponent uiComponent) { UI ui = await DUIHelper.InstantiateFromBundle(uiComponent, DUIType.UILogin); ui.AddComponent <DUILoginComponent>(); return(ui); }
protected override async ETTask Run(AppEventType.AppStartInitFinish args) { await DUIHelper.Create(args.ZoneScene, DUIType.UILogin); }
public override void OnRemove(UIComponent uiComponent) { DUIHelper.UnloadBundle(DUIType.UILogin); }
protected override async ETTask Run(AppEventType.LoginFinish args) { await DUIHelper.Remove(args.ZoneScene, DUIType.UILogin); }