void Start() { allCards = new List <SC_BaseCard> (Resources.LoadAll <SC_BaseCard> ("")); LoadSave(); if (savedData.firstLoad) { savedData.firstLoad = false; savedData.decks = new Dictionary <string, string> (); foreach (BaseDeck d in baseDecks) { SaveDeck(d.name, d.code); } } deckBuilder.Setup(); decksManager.Setup(); }