- Home /
Question by
Bill9009 · Apr 15, 2017 at 04:09 PM ·
c#editorwindownamespace
How to hide the namespace in an editor window?
I am making an editor window and I have put the script within a namespace. Whenever I have the editor window up, the namespace is shown in the top of the editor window. Is there any way to hide this without taking the script of the namespace.
Comment
Best Answer
Answer by Adam-Mechtley · Apr 15, 2017 at 06:33 PM
Change the value of titleContent in the EditorWindow class's OnEnable() method
Thank you. This worked perfectly. Also for reference I used:
private void OnEnable()
{
titleContent = new GUIContent("Title");
}
Your answer

Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Editor Windows - Where to get started? 1 Answer
How do I animate graphics in a custom EditorWindow ? 0 Answers
Immediate editor inside unity 2 Answers