private void UpdateUI() { if (!health || !inGameUI) { return; } inGameUI.SetHealth(health.GetHealth()); }