cookie_sabotage@sh.itjust.workstoProgrammer Humor@lemmy.ml•Aaargh....my eyes......my eyes......English
1612·
8 months agopublic class GameManager : MonoBehaviour
{
public bool EnableHighContrast;
public bool PlayerWon;
public float PlayerUnitsMoved;
public int PlayerDeathCount;
public float PlayerHealth;
public void PlayerTakeDamage(float damage)
{
PlayerHealth -= damage;
if (PlayerHealth < 0)
{
PlayerDieAndRespawn();
}
}
public void PlayerDieAndRespawn()
{
return;
}
}
I couldn’t contain myself.
Don’t worry! this issue will be fixed in the next patch. In the meantime just try not getting hit.