private void SetupStigmata(Transform trans, StigmataDataItem stigmata) { this.SetStigmataImage(trans.Find("MaskPanel/Figure").GetComponent <RectTransform>(), stigmata); trans.Find("LvText").GetComponent <Text>().text = "LV." + stigmata.level; trans.Find("Cost/Num").GetComponent <Text>().text = stigmata.GetCost().ToString(); trans.Find("Star/EquipStar").GetComponent <MonoEquipSubStar>().SetupView(stigmata.rarity, stigmata.GetMaxRarity()); trans.Find("Star/EquipSubStar").GetComponent <MonoEquipSubStar>().SetupView(stigmata.GetSubRarity(), stigmata.GetMaxSubRarity() - 1); }