disable obsolete code
This commit is contained in:
parent
0c4f91d58f
commit
e43357ce93
@ -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();
|
||||
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user