// Use this for initialization void Start() { bt = GetComponent <Button>(); bt.onClick.AddListener(clicked); bt.interactable = false; deck = deckTable.GetComponent <DeckBaseScript>(); }
public void setDeck(DeckBaseScript deckController) { deck = deckController; }
// Use this for initialization void Start() { deck = GetComponent <DeckBaseScript>(); }
// Associa deck para futura chamadas public void setDeck(DeckBaseScript mainDeck) { deck = mainDeck; }