feat: 주석 추가 및 기본 하트 충전시간 조정
This commit is contained in:
@@ -13,7 +13,7 @@ namespace TON
|
||||
private int characterId;
|
||||
|
||||
public int maxHearts = 3;
|
||||
public int heartRechargeTime = 600;
|
||||
public int heartRechargeTime = 360; // 하트 충전 시간 6분
|
||||
|
||||
public int GetCurrentHearts() => currentHeartData.currentHearts;
|
||||
public DateTime GetLastHeartTime() => DateTime.Parse(currentHeartData.lastHeartTime);
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace TON
|
||||
{
|
||||
if (HeartDataManager.Singleton.GetCurrentHearts() >= HeartDataManager.Singleton.maxHearts)
|
||||
{
|
||||
timerText.text = "0:00";
|
||||
timerText.text = "6:00";
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -52,7 +52,7 @@ namespace TON
|
||||
return;
|
||||
}
|
||||
|
||||
timerText.text = $"{timeLeft / 60:D2}:{timeLeft % 60:D2}"; // mm:ss 포맷
|
||||
timerText.text = $"{timeLeft / 60}:{timeLeft % 60:D2}"; // m:ss 포맷
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user