DO-44 [Feat] 랭킹 패널 세팅 패널 사운드 추가
This commit is contained in:
parent
9422bb0670
commit
b2d3551b0f
@ -148,7 +148,7 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
handleImage: {fileID: 6756679498073114696}
|
||||
clickSound: {fileID: 8300000, guid: 6296b07572c34d4439bb8bb660025449, type: 3}
|
||||
clickSound: {fileID: 8300000, guid: cff2e6cf7f46a074d86955b3b6fd499a, type: 3}
|
||||
--- !u!82 &6428684691423417346
|
||||
AudioSource:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -994,7 +994,7 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
handleImage: {fileID: 1822478720763898751}
|
||||
clickSound: {fileID: 8300000, guid: 6296b07572c34d4439bb8bb660025449, type: 3}
|
||||
clickSound: {fileID: 8300000, guid: cff2e6cf7f46a074d86955b3b6fd499a, type: 3}
|
||||
--- !u!82 &9145795730378986889
|
||||
AudioSource:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -22,6 +22,8 @@ public class LeaderBoardController : MonoBehaviour
|
||||
|
||||
public void OnClickLeaderboardButton()
|
||||
{
|
||||
GameManager.Instance.audioManager.PlayClickSound();
|
||||
|
||||
if (isLeaderboardLoaded) return; // 이미 리더보드가 로드되었으면 중복 호출 방지
|
||||
|
||||
leaderboardPanel.SetActive(true);
|
||||
@ -69,6 +71,8 @@ public class LeaderBoardController : MonoBehaviour
|
||||
// BackButton 클릭 시 호출되는 메소드
|
||||
public void OnBackButtonClicked()
|
||||
{
|
||||
GameManager.Instance.audioManager.PlayCloseSound();
|
||||
|
||||
leaderboardPanel.SetActive(false); // LeaderboardPanel 숨기기
|
||||
MainPanel.SetActive(true); // SignInPanel 보이게 하기
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user