mirror of
https://github.com/codewriter-packages/Tri-Inspector.git
synced 2025-01-23 00:38:21 -05:00
18 lines
355 B
C#
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);
|
|
}
|
|
}
|
|
} |