Tri-Inspector/Editor/TriValue.cs
2022-01-05 14:59:05 +03:00

18 lines
355 B
C#

namespace TriInspector
{
public readonly struct TriValue<T>
{
internal TriValue(TriProperty property)
{
Property = property;
}
public TriProperty Property { get; }
public T Value
{
get => (T) Property.Value;
set => Property.SetValue(value);
}
}
}