Example #1
0
    private IEnumerator submit()
    {
        yield return(null);

        string deckName = deckNameInputField.text;

        Debug.Log("Saving deck: " + deckName);
        deckBuilderDeck.save(deckName);
        gameObject.SetActive(false);
        glassBackground.SetActive(false);
    }
Example #2
0
 public void onYesClicked()
 {
     deckBuilderDeck.glassBackground.SetActive(false);
     deckBuilderDeck.save(deckName);
     deckBuilderDeck.loadDeckPopUp.setToValue(deckName);
 }