public void OnGUI()
{
LoadLogos();
GUILayout.BeginVertical(new GUILayoutOption[0]);
GUI.Box(new Rect(13f, 8f, (float) styles.unityLogo.image.width, (float) styles.unityLogo.image.height), styles.unityLogo, GUIStyle.none);
GUILayout.Space(15f);
GUILayout.BeginHorizontal(new GUILayoutOption[0]);
GUILayout.Space(120f);
GUILayout.BeginVertical(new GUILayoutOption[0]);
GUILayout.Label(styles.mainHeader, new GUILayoutOption[0]);
GUILayoutOption[] options = new GUILayoutOption[] { GUILayout.Width(300f) };
GUILayout.Label(styles.mainText, "WordWrappedLabel", options);
GUILayout.EndVertical();
GUILayout.EndHorizontal();
GUILayout.Space(8f);
this.ShowEntry(styles.videoTutLogo, "http://unity3d.com/learn/tutorials/modules/", styles.videoTutHeader, styles.videoTutText, "VideoTutorials");
this.ShowEntry(styles.unityBasicsLogo, "file:///unity/Manual/UnityBasics.html", styles.unityBasicsHeader, styles.unityBasicsText, "UnityBasics");
this.ShowEntry(styles.unityAnswersLogo, "http://answers.unity3d.com/", styles.unityAnswersHeader, styles.unityAnswersText, "UnityAnswers");
this.ShowEntry(styles.unityForumLogo, "http://forum.unity3d.com/", styles.unityForumHeader, styles.unityForumText, "UnityForum");
this.ShowEntry(styles.assetStoreLogo, "home/?ref=http%3a%2f%2fUnityEditor.unity3d.com%2fWelcomeScreen", styles.assetStoreHeader, styles.assetStoreText, "AssetStore");
GUILayout.FlexibleSpace();
GUILayoutOption[] optionArray2 = new GUILayoutOption[] { GUILayout.Height(20f) };
GUILayout.BeginHorizontal(optionArray2);
GUILayout.FlexibleSpace();
GUI.changed = false;
s_ShowAtStartup = GUILayout.Toggle(s_ShowAtStartup, styles.showAtStartupText, new GUILayoutOption[0]);
if (GUI.changed)
{
EditorPrefs.SetInt("ShowWelcomeAtStartup4", !s_ShowAtStartup ? 0 : 1);
if (s_ShowAtStartup)
{
Analytics.Track(string.Format("/WelcomeScreen/EnableAtStartup/{0}", s_ShowCount));
}
else
{
Analytics.Track(string.Format("/WelcomeScreen/DisableAtStartup/{0}", s_ShowCount));
}
s_ShowCount = 0;
EditorPrefs.SetInt("WelcomeScreenShowCount", 0);
}
GUILayout.Space(10f);
GUILayout.EndHorizontal();
GUILayout.EndVertical();
}