Ejemplo n.º 1
0
        public IConvertView GetConvertView(int position, IConvertView convertView)
        {
            TypeListCell cell = convertView as TypeListCell;

            if (cell == null)
            {
                cell          = new TypeListCell();
                cell.FontSize = 25;
                cell.TextComponent.alignment = TextAnchor.MiddleCenter;
                UILayout.AddUnderLine(cell.GetRectTransform(), Screen.height / 720f, Color.white);
            }
            cell.Text = "Part" + (position + 1) + "." + Types[position];
            return(cell);
        }