예제 #1
0
 public void OnConnexionNonAnonymeClick()
 {
     EmailConnexion.SetActive(true);
     ReturnButton.SetActive(true);
     MenuButton.SetActive(false);
     ConnectedButton.SetActive(false);
 }
예제 #2
0
    public void OnReturnClick()
    {
        ClassementGUI.SetActive(false);
        SuccesGUI.SetActive(false);
        ReturnButton.SetActive(false);
        EmailConnexion.SetActive(false);
        MenuGUI.SetActive(true);
        MenuButton.SetActive(true);
        ConnectedButton.SetActive(true);

        if (connexion.isconnectedWithAccount)
        {
            Compte.SetActive(false);
        }

        ScoreManagerScript.Score = 0;
        connexion.GetMaxScoreValue();
    }