using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class ClassMate : MonoBehaviour { public JueseChoicePop jueseChoicePop; public Text classmatename; public string s; public Button otherButton; public Button button; public bool isClear = false; public bool isBeSet = false; // Start is called before the first frame update //void Start() //{ // button.onClick.AddListener(Click); // s = classmatename.text; //} //public void Click() //{ // if(isBeSet == false) // { // jueseChoicePop.SetClassMate(this); // } // else // { // //jueseChoicePop.ChangeClassMate(); // } //} //public void SetJc(JueseChoicePop jc) //{ // jueseChoicePop = jc; //} //public void setName() //{ // classmatename.text = s; //} //// Update is called once per frame //void Update() //{ //} }