private void Title() { var versionAsset = Resources.Load <TextAsset>("VERSION"); EditorWindowUtils.TitleTexture(_bannerImage); if (versionAsset == null) { return; } if (centeredStyle == null) { centeredStyle = new GUIStyle(GUI.skin.label) { alignment = TextAnchor.MiddleCenter, fontSize = 16 }; } EditorWindowUtils.Space(5); EditorWindowUtils.Label(String.Format("Version: {0}", versionAsset.text), centeredStyle); if (pageNames == null) //use case: About Window is open while entering Play { Open(); } EditorWindowUtils.BeginHorizontalCenter(); EditorWindowUtils.Button(() => { GetWindow <LeiaRecommendedSettings>(true); }, "Leia Recommended Settings"); EditorWindowUtils.EndHorizontalCenter(); EditorWindowUtils.Space(10); _page = (Page)GUILayout.Toolbar((int)_page, pageNames); EditorWindowUtils.HorizontalLine(); EditorWindowUtils.Space(5); }