UnityEditor.WelcomeScreen.DoShowWelcomeScreen C# (CSharp) Method

DoShowWelcomeScreen() private static method

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");
        }

Usage Example

示例#1
0
 private static void ShowWelcomeScreenAtStartup()
 {
     WelcomeScreen.LoadLogos();
     if (WelcomeScreen.s_ShowAtStartup)
     {
         WelcomeScreen.DoShowWelcomeScreen("Startup");
     }
 }
All Usage Examples Of UnityEditor.WelcomeScreen::DoShowWelcomeScreen