private bool onManageIglooPopupDisplayed(IglooUIEvents.ManageIglooPopupDisplayed evt) { eventChannel.RemoveListener <IglooUIEvents.ManageIglooPopupDisplayed>(onManageIglooPopupDisplayed); string tokenTranslation = Service.Get <Localizer>().GetTokenTranslation("Igloos.Menu.CreationError"); Service.Get <EventDispatcher>().DispatchEvent(new IglooUIEvents.ShowNotification(tokenTranslation, 5f, null, adjustRectPositionForNotification: true, showAfterSceneLoad: false)); return(false); }
private bool onManageIglooPopupDisplayed(IglooUIEvents.ManageIglooPopupDisplayed evt) { eventDispatcher.RemoveListener <IglooUIEvents.ManageIglooPopupDisplayed>(onManageIglooPopupDisplayed); base.Fsm.Event(OnFail); return(false); }