private void OnGUI() { if (!isLocalPlayer) { if (hud.enabled) { hud.enabled = false; } return; } ShowDeathScreen(_healthControl.GetCurrentHealth() <= 0); _healthText.text = "" + _healthControl.GetCurrentHealth(); }
private void OnGUI() { if (!isLocalPlayer) { if (hud.enabled) { hud.enabled = false; } return; } ShowDeathScreen(_healthControl.GetCurrentHealth() <= 0); _healthText.text = "" + _healthControl.GetCurrentHealth(); }