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>(); }
void showCard() { CardShow cardShow = new CardShow(); cardShow.Start(0); }