public void EnterTheVolc(int unitnum)///进入词汇界面 { for (int i = unitnum; i < 61; i++) { BTN_Vol temp = Instantiate(btn_vol, grid); if (VolData.GetUnit(i) == unitnum) { VolList.Add(VolData.GetVol(i)); } temp.text.text = VolData.GetVol(i); } }
// Use this for initialization void Start() { Unit_btn_init(); print(VolData.GetVol(2)); currentnum = 0; }