How do I change the name of my window in a custom editor script? The one I made is too large for the tab.
using UnityEngine;
using UnityEditor;
public class BreakableObjectSetupTool : EditorWindow {
[MenuItem("Window/GDG Breakable Object Setup Tool")]
public static void ShowWindow ()
{
EditorWindow.GetWindow (typeof(BreakableObjectSetupTool));
}
void OnGUI ()
{
GUILayout.Label ("GDG Breakable Object Setup Tool", EditorStyles.boldLabel);
}
}