天津23维预案
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

33 lines
1013 B

using UnityEngine;
using UIWidgets;
namespace UIWidgetsSamples {
public class ListViewVariableHeight : ListViewCustomHeight<ListViewVariableHeightComponent,ListViewVariableHeightItemDescription> {
protected override void SetData(ListViewVariableHeightComponent component, ListViewVariableHeightItemDescription item)
{
component.SetData(item);
}
protected override void HighlightColoring(ListViewVariableHeightComponent component)
{
base.HighlightColoring(component);
component.Name.color = HighlightedColor;
component.Text.color = HighlightedColor;
}
protected override void SelectColoring(ListViewVariableHeightComponent component)
{
base.SelectColoring(component);
component.Name.color = SelectedColor;
component.Text.color = SelectedColor;
}
protected override void DefaultColoring(ListViewVariableHeightComponent component)
{
base.DefaultColoring(component);
component.Name.color = DefaultColor;
component.Text.color = DefaultColor;
}
}
}