private bool onPopupManagerReady(PopupEvents.PopupManagerReady evt) { eventChannel.RemoveListener <PopupEvents.PopupManagerReady>(onPopupManagerReady); manageIglooPopup = Object.Instantiate(manageIglooPopupPrefab); manageIglooPopupPrefab = null; eventDispatcher.DispatchEvent(new PopupEvents.ShowPopup(manageIglooPopup)); return(false); }
private bool onPopupManagerReady(PopupEvents.PopupManagerReady evt) { if (!base.IsInHandledState) { return(false); } eventDispatcher.RemoveListener <PopupEvents.PopupManagerReady>(onPopupManagerReady); resumeFirstTimeUserExperienceQuest(); resetGUI(); return(false); }