32 lines
401 B
C#
32 lines
401 B
C#
using System;
|
|
using UIWidgets;
|
|
using UnityEngine;
|
|
|
|
namespace UIWidgetsSamples
|
|
{
|
|
[Serializable]
|
|
public class ListViewVariableHeightItemDescription : IItemHeight
|
|
{
|
|
[SerializeField]
|
|
public string Name;
|
|
|
|
[SerializeField]
|
|
public string Text;
|
|
|
|
[SerializeField]
|
|
private float height;
|
|
|
|
public float Height
|
|
{
|
|
get
|
|
{
|
|
return height;
|
|
}
|
|
set
|
|
{
|
|
height = value;
|
|
}
|
|
}
|
|
}
|
|
}
|