Skip to content

Commit

Permalink
Minor UX improvements in the ScriptableObjectCreationWizard
Browse files Browse the repository at this point in the history
  • Loading branch information
arimger committed Jan 27, 2024
1 parent d9e8b1c commit bb6b44d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Assets/Editor Toolbox/Editor/Wizards/ToolboxWizard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ public class ToolboxWizard : EditorWindow

private Vector2 scrollPosition;

private void OnEnable()
protected virtual void OnEnable()
{
if (targetEditor != null)
{
ReinitEditor(targetEditor);
}
}

private void OnDestroy()
protected virtual void OnDestroy()
{
DestroyImmediate(targetEditor);
}
Expand Down

0 comments on commit bb6b44d

Please sign in to comment.