public void SetBox(Skill skill){ //pos = t.position; Meat.SetActive (true); if (skill.MpCost > 0) { descName.text = skill._name; descDesc.text = skill._desc; descImg.overrideSprite = Resources.Load<Sprite>("Sprites/Skills/" + skill.GetPath().ToString()); descCost.text = "Cost:" + skill.MpCost; descDmg.text = "Dmg:" + skill.Damage; } if (skill.HpCost > 0) { descName.text = skill._name; descDesc.text = skill._desc; descImg.overrideSprite = Resources.Load<Sprite>("Sprites/Skills/" + skill.GetPath().ToString()); descCost.text = "Cost:" + skill.HpCost; descDmg.text = "Dmg:" + skill.Damage; } }