feat: 일시정지 팝업의 버튼 로직 수정
This commit is contained in:
@@ -39,10 +39,6 @@ namespace TON
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void OnClickStageRetryModal()
|
public void OnClickStageRetryModal()
|
||||||
{
|
|
||||||
retryModal.SetActive(true);
|
|
||||||
}
|
|
||||||
public void OnClickStageRetryButton()
|
|
||||||
{
|
{
|
||||||
// 가지고 있는 하트가 없다면 입장 불가
|
// 가지고 있는 하트가 없다면 입장 불가
|
||||||
if (HeartDataManager.Singleton.GetCurrentHearts() < 1)
|
if (HeartDataManager.Singleton.GetCurrentHearts() < 1)
|
||||||
@@ -53,6 +49,10 @@ namespace TON
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
retryModal.SetActive(true);
|
||||||
|
}
|
||||||
|
public void OnClickStageRetryButton()
|
||||||
|
{
|
||||||
Time.timeScale = 1f;
|
Time.timeScale = 1f;
|
||||||
// 입장 시 하트 소모
|
// 입장 시 하트 소모
|
||||||
HeartDataManager.Singleton.UseHeart();
|
HeartDataManager.Singleton.UseHeart();
|
||||||
|
|||||||
Reference in New Issue
Block a user