Пример #1
0
    // Update is called once per frame
    void Update()
    {
        if (PlayerInfo.instance.loggedIn == true && activated == false)
        {
            activated = true;

            // Let the user know the login was successful
            string message = "Welcome, " + PlayerInfo.instance.userName + "!";
            ac.CreateAlert("Login Succeeded", message);

            // Move them to the logged in page
            mN.SelectPage(mN.pages[3]);

            cosmeticHelper.ShowCosmeticsLoginScreen(PlayerInfo.instance.ID);
        }
    }