/// <summary> /// 获取对应的数据 /// </summary> /// <param name="id"></param> public override void setData(int id) { IList <MonsterVO> list = DataMgr.getInstance().Monster; for (int i = 0; i < list.Count; i++) { if (list[i].ID == id) { _monst = list[i]; } } }
/// <summary> /// 获取对应的数据 /// </summary> /// <param name="id"></param> public override void setData(int id) { IList<MonsterVO> list = DataMgr.getInstance().Monster; for (int i = 0; i < list.Count; i++) { if (list[i].ID == id) { _monst = list[i]; } } }