public void EquipCellClick(RowEquipment data) { selectedData = data; GameObject go = PrefabsTwo.Load("Prefabs/equipInfo", transform); mesage = go; equipInfo = go.GetComponent <EquipInfoView>(); equipInfo.Display(selectedData, this); }
public void RankUPClick(EquipInfoView equipInfoView) { RowEquipment equipDate = selectedData; PlayerData newList = EquipModel.StrLevelUp(equipDate); finalData = StaticDataModel.ReadEquipMerge(newList.equips); equiplistView.DisPlay_Choice(finalData, this, 1); TeamModel.EquioStrChange(); Num.text = newList.equips.Count + "/" + kucun; equipInfoView.Display(selectedData, this); }