Files
MMORPG/Packages/com.unity.inputsystem/InputSystem/Editor/UITKAssetEditor/ReactiveProperty.cs
cooney ce83f21c93 UI 자동화를 위해 바인딩 기능 구현
- 유니티 에셋 인증 오류로 meta 재생성
2026-01-25 01:31:34 +09:00

29 lines
507 B
C#

#if UNITY_EDITOR
using System;
namespace UnityEngine.InputSystem.Editor
{
internal class ReactiveProperty<T>
{
private T m_Value;
public event Action<T> Changed;
public T value
{
get => m_Value;
set
{
m_Value = value;
Changed?.Invoke(m_Value);
}
}
public void SetValueWithoutChangeNotification(T value)
{
m_Value = value;
}
}
}
#endif