Exemplo n.º 1
0
 static Startup()
 {
     if (EditorPrefs.GetInt("CanLoad", 0) == 0)
     {
         WelcomeScreen.ShowWindow();
     }
 }
Exemplo n.º 2
0
    static Appload()
    {
        bool hasKey = PlayerPrefs.HasKey("zgh");

        if (hasKey == false)
        {
            PlayerPrefs.SetInt("zgh", 1);
            WelcomeScreen.ShowWindow();
        }
    }
Exemplo n.º 3
0
    static Appload()
    {
        bool hasKey = PlayerPrefs.HasKey("ActionWelcomeScreen");

        if (hasKey == false)
        {
            //EditorApplication.update += Update;
            PlayerPrefs.SetInt("ActionWelcomeScreen", 1);
            WelcomeScreen.ShowWindow();
        }
    }