public void AddSelect(string imageFileName, string text, Action onClick) { SelectObject selectObject = new SelectObject(imageFileName, text, onClick); selectObject.Go.transform.SetParent(SelectLayout, false); _selectList.Add(selectObject.Go); }