static void GenerateColliderVerticesMenuEntry() { // Get existing open window or if none, make a new one: EditorScriptAlphaMeshColliderTK2DWindow window = EditorWindow.GetWindow <EditorScriptAlphaMeshColliderTK2DWindow>(); window.title = "ColliderGen TK2D"; }
static void GenerateColliderVerticesMenuEntry() { // Get existing open window or if none, make a new one: EditorScriptAlphaMeshColliderTK2DWindow window = EditorWindow.GetWindow <EditorScriptAlphaMeshColliderTK2DWindow>(); #if UNITY_5_1_AND_LATER window.titleContent = new GUIContent("ColliderGen TK2D"); #else window.title = "ColliderGen TK2D"; #endif }