public void PlayCallBack() { PlayCard playCard = GameObject.Find("Player").GetComponent <PlayCard>(); if (playCard.CheckSelectCards()) { } }
public void Btn_Play_Click() { PlayCard playCard = GameObject.Find("Player").GetComponent <PlayCard>(); if (playCard.CheckSelectCards()) { btn_Play.gameObject.SetActive(false); btn_DisPlay.gameObject.SetActive(false); } }
/// <summary> /// 出牌回调 /// </summary> void PlayCallBack() { PlayCard playCard = GameObject.Find("Player").GetComponent <PlayCard>(); if (playCard.CheckSelectCards()) { play.SetActive(false); disard.SetActive(false); } }