private void CreateNewList() { namePopUp.gameObject.SetActive(true); namePopUp.SetTitleText("Name your word list:"); namePopUp.SetPlaceholderInputText("Word list name...."); namePopUp.PopupButtonPressedEvent -= OnPopupButtonPressedEvent; namePopUp.PopupButtonPressedEvent += OnPopupButtonPressedEvent; }
private void CreateLanguage() { askNamePopUp.gameObject.SetActive(true); askNamePopUp.SetTitleText("Creating new translation"); askNamePopUp.SetPlaceholderInputText("Language name"); askNamePopUp.PopupButtonPressedEvent -= OnPopupButtonPressedEvent; askNamePopUp.PopupButtonPressedEvent += OnPopupButtonPressedEvent; }