Files
BABA_YAGA/Packages/app.rive.rive-unity/Runtime/DataBinding/ViewModelPropertyData.cs

33 lines
667 B
C#
Raw Permalink Normal View History

2026-05-19 17:39:03 +07:00
namespace Rive
{
/// <summary>
/// Holds data about a view model property.
/// </summary>
public readonly struct ViewModelPropertyData
{
private readonly string m_name;
private readonly ViewModelDataType m_type;
/// <summary>
/// The name of the property.
/// </summary>
public string Name => m_name;
/// <summary>
/// The type of the property.
/// </summary>
public ViewModelDataType Type => m_type;
internal ViewModelPropertyData(string name, ViewModelDataType type)
{
m_name = name;
m_type = type;
}
}
}