コード例 #1
0
    private void CreateNewList()
    {
        namePopUp.gameObject.SetActive(true);
        namePopUp.SetTitleText("Name your word list:");
        namePopUp.SetPlaceholderInputText("Word list name....");

        namePopUp.PopupButtonPressedEvent -= OnPopupButtonPressedEvent;
        namePopUp.PopupButtonPressedEvent += OnPopupButtonPressedEvent;
    }
コード例 #2
0
    private void CreateLanguage()
    {
        askNamePopUp.gameObject.SetActive(true);
        askNamePopUp.SetTitleText("Creating new translation");
        askNamePopUp.SetPlaceholderInputText("Language name");

        askNamePopUp.PopupButtonPressedEvent -= OnPopupButtonPressedEvent;
        askNamePopUp.PopupButtonPressedEvent += OnPopupButtonPressedEvent;
    }