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