Ejemplo n.º 1
0
 void ClickEvent(Button btn, int num)
 {
     btn.onClick.AddListener(delegate()
     {
         CardShow cardShow = new CardShow();
         cardShow.Start(num);
     });
 }
 // Start is called before the first frame update
 void Start()
 {
     cardshow = Card.GetComponent <CardShow>();
 }
Ejemplo n.º 3
0
    void showCard()
    {
        CardShow cardShow = new CardShow();

        cardShow.Start(0);
    }