private static DoShowWelcomeScreen ( string how ) : void | ||
how | string | |
return | void |
private static void DoShowWelcomeScreen(string how)
{
s_ShowCount++;
EditorPrefs.SetInt("WelcomeScreenShowCount", s_ShowCount);
Analytics.Track(string.Format("/WelcomeScreen/Show/{0}/{1}", how, s_ShowCount));
EditorWindow.GetWindowWithRect<WelcomeScreen>(new Rect(0f, 0f, 570f, 440f), true, "Welcome To Unity");
}
private static void ShowWelcomeScreenAtStartup() { WelcomeScreen.LoadLogos(); if (WelcomeScreen.s_ShowAtStartup) { WelcomeScreen.DoShowWelcomeScreen("Startup"); } }