Skip to content

Instantly share code, notes, and snippets.

@LoganBarnett
Last active December 16, 2015 01:39
Show Gist options
  • Select an option

  • Save LoganBarnett/5357114 to your computer and use it in GitHub Desktop.

Select an option

Save LoganBarnett/5357114 to your computer and use it in GitHub Desktop.
A workaround to have generic EditorWindows.
using UnityEditor;
public interface IGenericEditorWindow {
void OnGUI();
void OnFocus();
void OnDisable();
EditorWindow Window { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment