namespace UIWidgets
{
///
/// Base class for TileView's.
///
/// Component class.
/// Item class.
public class TileViewCustom : ListViewCustom
where TComponent : ListViewItem
{
[UnityEngine.SerializeField]
[UnityEngine.HideInInspector]
int tileViewFixedSizeVersion = 0;
///
/// Upgrade serialized data to the latest version.
///
public override void Upgrade()
{
base.Upgrade();
if (tileViewFixedSizeVersion == 0)
{
listType = ListViewType.TileViewWithFixedSize;
tileViewFixedSizeVersion = 1;
}
}
}
}