using System.Collections.Generic; namespace Rive { /// /// Represents an enum type defined in a Rive file. /// public sealed class ViewModelEnumData { private string[] m_values; /// /// The name of the enum defined in the Rive file. /// public string Name { get; private set; } /// /// The values of the enum defined in the Rive file. /// public IReadOnlyList Values { get { return m_values; } } internal string[] ValuesArray => m_values; /// /// Creates a new instance of the class. /// /// The name of the enum. /// The values of the enum. internal ViewModelEnumData(string name, string[] values) { Name = name; m_values = values; } } }