DI 추가

This commit is contained in:
logonkhi
2025-12-15 20:17:38 +09:00
parent ab86affa32
commit 0df2f0d8da
131 changed files with 19661 additions and 554 deletions

View File

@@ -7,6 +7,9 @@ using UVC.Util;
public class PropertyWindowSample : MonoBehaviour
{
[SerializeField] private PropertyWindow propertyWindow;
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
@@ -75,16 +78,16 @@ public class PropertyWindowSample : MonoBehaviour
}
};
PropertyWindow.Instance.LoadMixedProperties(entries);
propertyWindow.LoadMixedProperties(entries);
// 값 변경 이벤트 핸들러
PropertyWindow.Instance.PropertyValueChanged += (sender, e) =>
propertyWindow.PropertyValueChanged += (sender, e) =>
{
Debug.Log($"[PropertyChanged] Id:{e.PropertyId}, Type:{e.PropertyType}, Value:{e.NewValue}");
};
// 그룹 펼침/접힘 이벤트 핸들러
PropertyWindow.Instance.GroupExpandedChanged += (sender, e) =>
propertyWindow.GroupExpandedChanged += (sender, e) =>
{
Debug.Log($"[GroupExpanded] Group:{e.Group.GroupName}, Expanded:{e.IsExpanded}");
};