public void RegisterOverride <TOverride>(Type editorWindowType) where TOverride : EditorWindowOverride <EditorWindow>, new() { EditorModes.RegisterOverride <TMode, TOverride>(m_Mode, editorWindowType); }
public void RegisterOverride <TOverride, TWindow>() where TOverride : EditorWindowOverride <TWindow>, new() where TWindow : EditorWindow { EditorModes.RegisterOverride <TMode, TOverride, TWindow>(m_Mode); }