void Start() { ShopData s = SaveManager.Instance.GetSave().ShopData; DATA = s.GetByTypeName(type)[id]; PriceText.text = DATA.price.ToString(); NameText.text = DATA.name; if (DATA.owned) { PriceArea.SetActive(false); } else { NameText.gameObject.SetActive(false); } }