웨이브 관련 조건 삭제
This commit is contained in:
@@ -28,7 +28,6 @@ namespace TON
|
|||||||
|
|
||||||
[SerializeField] private CharacterBase character;
|
[SerializeField] private CharacterBase character;
|
||||||
|
|
||||||
|
|
||||||
private void OnEnable()
|
private void OnEnable()
|
||||||
{
|
{
|
||||||
character = GameObject.Find("TON.Player").GetComponentInChildren<CharacterBase>();
|
character = GameObject.Find("TON.Player").GetComponentInChildren<CharacterBase>();
|
||||||
@@ -71,9 +70,7 @@ namespace TON
|
|||||||
|
|
||||||
private void UpdatePlayTimeDisplay()
|
private void UpdatePlayTimeDisplay()
|
||||||
{
|
{
|
||||||
if (_monsterSpawner != null && !_monsterSpawner.isTimerRunning)
|
float playTime = StageManager.Singleton.PlayTime;
|
||||||
{
|
|
||||||
float playTime = StageManager.Singleton.PlayTime - ((StageManager.Singleton.waveCount + 1) * 5);
|
|
||||||
|
|
||||||
int minutes = Mathf.FloorToInt(playTime / 60f);
|
int minutes = Mathf.FloorToInt(playTime / 60f);
|
||||||
int seconds = Mathf.FloorToInt(playTime % 60f);
|
int seconds = Mathf.FloorToInt(playTime % 60f);
|
||||||
@@ -87,7 +84,6 @@ namespace TON
|
|||||||
playTimeText.text = cachedTimeString;
|
playTimeText.text = cachedTimeString;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
private void UpdateHPBar(float current, float max)
|
private void UpdateHPBar(float current, float max)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user