public UIElements.ContextType contextType;
ContextType из этого IMGUIContainer. В настоящее время поддерживает только ContextType.Editor.