private void OnEnable() { Selection.selectionChanged -= UpdateLastFolderPath; Selection.selectionChanged += UpdateLastFolderPath; if (_window == null) { _window = this; } }
public static void ShowWindow() { _window = GetWindow <SOFlowComponentShortcutWindow>("SOFlow-Component Shortcuts"); }