public GameObject deckMaker; // the game object which we get the script DM which has the list of strings which is the deck the player made void Start() { DM = deckMaker.GetComponent <DeckMaker> (); }
public GameObject deckMaker; // the game object which we get the script DM which has the list of strings which is the deck the player made void Start(){ DM = deckMaker.GetComponent<DeckMaker> (); }