// Use this for initialization void Start() { this.GetComponent <Button>().onClick.AddListener(delegate() { if (TableController.Instance.isCanPeng && attrs == InteractivePrompt.guo) { TableController.Instance.canNotPengMjList.Add(TableController.Instance.currentCardID); //if (canNotPengMjList) //{ //} } SocketClient.Instance.SendInteractive(attrs.ToString(), cardID); TableController.Instance.interPanelisShow = false; callback(); }); }