public void AddPartToTv() { if (objInt.currentTV.GetComponent <TvPartManager>().AddPart(PartName) && invMng.GetItemCount(PartName) <= 0) { Destroy(gameObject); } }