Example #1
0
 public void ExitMemHistory()
 {
     Click.Play();
     Border.SetActive(false);
     MemHistoryPan.SetActive(false);
     CopyText.SetActive(true);
     CreatedByText.SetActive(true);
     MainText.SetActive(true);
     LogoutButton.SetActive(true);
     CopyBG.SetActive(true);
 }
Example #2
0
    public void MemDropLogic(int num)
    {
        Click.Play();

        if (num == 1) // show memory game history
        {
            LoadHistoryDropdownMem();
            MemHistoryPan.SetActive(true);
            Border.SetActive(true);
            CopyText.SetActive(false);
            CreatedByText.SetActive(false);
            MainText.SetActive(false);
            LogoutButton.SetActive(false);
            CopyBG.SetActive(false);
        }

        else // start game
        {
            SceneManager.LoadScene("MemMainMenu");
        }
    }