private void Update() { uiManager.UpdatePlayerHPText(monsterSpawner.GetMonsterListCnt()); if (player.maxHP < monsterSpawner.GetMonsterListCnt()) { GameManager.Instance.isDead = true; } }
private void Update() { uiManager.UpdatePlayerHPText(monsterSpawner.GetMonsterListCnt()); if (player.maxHP < monsterSpawner.GetMonsterListCnt()) { GameManager.Instance.isDead = true; } }