//set plaer's selection public void MakeTurn(string cardName) { ChooseCard.Play(); this.turnManager.SendMove(cardName, true); //禁止修改答案 GameObject[] tmp_cards = GameObject.FindGameObjectsWithTag("card"); if (tmp_cards.Length > 0) { for (int i = 0; i < tmp_cards.Length; i++) { if (tmp_cards[i].name != cardName) { //Debug.Log(tmp_cards[i]); tmp_cards[i].GetComponent <Button>().interactable = false; //tmp_cards[i].GetComponentsInChildren<Image>()[1].color = Color.gray; } } } }
public static string GetChooseSign(ChooseCard param) { return(Utils.GetParamSign(param)); }