Skip to content
This repository was archived by the owner on May 9, 2025. It is now read-only.

Commit a617e9b

Browse files
Fixed variable inspector not updating when values change
1 parent b8273a9 commit a617e9b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Assets/SO Architecture/Editor/Inspectors/BaseVariableEditor.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ private void OnEnable()
1919
}
2020
public override void OnInspectorGUI()
2121
{
22+
serializedObject.Update();
23+
2224
if (SOArchitecture_EditorUtility.HasPropertyDrawer(Target.Type))
2325
{
2426
EditorGUILayout.PropertyField(_valueProperty);

0 commit comments

Comments
 (0)