private IEnumerator submit() { yield return(null); string deckName = deckNameInputField.text; Debug.Log("Saving deck: " + deckName); deckBuilderDeck.save(deckName); gameObject.SetActive(false); glassBackground.SetActive(false); }
public void onYesClicked() { deckBuilderDeck.glassBackground.SetActive(false); deckBuilderDeck.save(deckName); deckBuilderDeck.loadDeckPopUp.setToValue(deckName); }