disable obsolete code

This commit is contained in:
cyber-dream 2022-06-13 02:56:51 +03:00
parent 0c4f91d58f
commit e43357ce93
2 changed files with 5 additions and 5 deletions

View File

@ -25,12 +25,12 @@ void Start()
// Update is called once per frame
void Update()
{
var characterStats = character.GetStats();
//var characterStats = character.GetStats();
horInpText.text = "horizontal input = " + Input.GetAxis("Horizontal");
verInpText.text = "vertical input = " + Input.GetAxis("Vertical");
characterHealthText.text = "health = " + characterStats.Health;
characterDamageText.text = "damage = " + characterStats.Damage;
//characterHealthText.text = "health = " + characterStats.Health;
//characterDamageText.text = "damage = " + characterStats.Damage;
timerText.text = "timer = " + gameplay.GetTimer();

View File

@ -56,7 +56,7 @@ private IEnumerator AutoBalance()
// Update is called once per frame
void Update()
{
if (_time < 0 || _characterCharacterClass.GetHealth() <= 0)
/*if (_time < 0 || _characterCharacterClass.GetHealth() <= 0)
{
_curGameState = GameStates.GameOver;
}
@ -70,7 +70,7 @@ void Update()
overMind.SetActive(false);
DeathScreen.SetActive(true);
}
}*/
}
public float GetTimer()