Example #1
0
 void ClickEvent(Button btn, int num)
 {
     btn.onClick.AddListener(delegate()
     {
         CardShow cardShow = new CardShow();
         cardShow.Start(num);
     });
 }
Example #2
0
    void showCard()
    {
        CardShow cardShow = new CardShow();

        cardShow.Start(0);
    }