private CatagoryElement ConstructCatagoryElement(CatagoryModel model, decimal total, int index) { CatagoryElement newExpense = GameObject.Instantiate(original: CatagoryElements[index - 1], parent: CatagoryElements[index - 1].transform.parent.transform) as CatagoryElement; RectTransform newRect = newExpense.GetComponent <RectTransform>(); newRect.anchoredPosition = new Vector3(newRect.anchoredPosition.x, newRect.anchoredPosition.y - CatagoryOffset); //newExpense.SetTileRect(TileRect); Add Later if I want the catagory tiles to scroll. newExpense.UpdateView(model, total); return(newExpense); }