disable obsolete code
This commit is contained in:
parent
0c4f91d58f
commit
e43357ce93
@ -25,12 +25,12 @@ void Start()
|
|||||||
// Update is called once per frame
|
// Update is called once per frame
|
||||||
void Update()
|
void Update()
|
||||||
{
|
{
|
||||||
var characterStats = character.GetStats();
|
//var characterStats = character.GetStats();
|
||||||
horInpText.text = "horizontal input = " + Input.GetAxis("Horizontal");
|
horInpText.text = "horizontal input = " + Input.GetAxis("Horizontal");
|
||||||
verInpText.text = "vertical input = " + Input.GetAxis("Vertical");
|
verInpText.text = "vertical input = " + Input.GetAxis("Vertical");
|
||||||
|
|
||||||
characterHealthText.text = "health = " + characterStats.Health;
|
//characterHealthText.text = "health = " + characterStats.Health;
|
||||||
characterDamageText.text = "damage = " + characterStats.Damage;
|
//characterDamageText.text = "damage = " + characterStats.Damage;
|
||||||
|
|
||||||
timerText.text = "timer = " + gameplay.GetTimer();
|
timerText.text = "timer = " + gameplay.GetTimer();
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@ private IEnumerator AutoBalance()
|
|||||||
// Update is called once per frame
|
// Update is called once per frame
|
||||||
void Update()
|
void Update()
|
||||||
{
|
{
|
||||||
if (_time < 0 || _characterCharacterClass.GetHealth() <= 0)
|
/*if (_time < 0 || _characterCharacterClass.GetHealth() <= 0)
|
||||||
{
|
{
|
||||||
_curGameState = GameStates.GameOver;
|
_curGameState = GameStates.GameOver;
|
||||||
}
|
}
|
||||||
@ -70,7 +70,7 @@ void Update()
|
|||||||
overMind.SetActive(false);
|
overMind.SetActive(false);
|
||||||
|
|
||||||
DeathScreen.SetActive(true);
|
DeathScreen.SetActive(true);
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
|
|
||||||
public float GetTimer()
|
public float GetTimer()
|
||||||
|
Loading…
Reference in New Issue
Block a user