Example #1
0
    // 메인 메뉴 - [프로필] 버튼 클릭 시
    public void ClickProfileButton()
    {
        // 버튼 소리
        SoundManager.Instance.ClickButton();

        mainMenuCtrl.ChangeSwipingState();

        achievementScrollbar.value = 1.0f;
        usernameText.text          = GameManager.Instance.username;
        profileImage.sprite        = GameManager.Instance.profileImages[GameManager.Instance.profileImageNum];
        profilePanel.SetActive(!profilePanel.activeSelf);

        achievementData.UpdateAchievementStatus();
    }