Skip to content

Commit

Permalink
make port editable
Browse files Browse the repository at this point in the history
  • Loading branch information
Stella Cannefax committed Sep 22, 2019
1 parent 1c91cab commit a44abb4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Editor/Scripts/Inspectors/OscRouterEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ public void OnEnable()

public override void OnInspectorGUI()
{
serializedObject.Update();

EditorUtils.Help(k_HelpText);
using (new EditorGUILayout.HorizontalScope())
{
Expand All @@ -34,6 +36,8 @@ public override void OnInspectorGUI()
{
EditorGUILayout.PropertyField(m_PortProperty);
}

serializedObject.ApplyModifiedProperties();
}
}
}

0 comments on commit a44abb4

Please sign in to comment.