/// <summary> /// Update different GUI elements with data /// </summary> public void UpdateGUI() { if (weekValue != null) { weekValue.SetText(weekNumber.ToString()); } else { Debug.LogWarning("Week text element is not defined !"); } moneyValue.SetText(playerManager.player.getCurrency()); pillManager.UpdateGUI(playerManager.player.currentEffects); playerManager.UpdateGUI(); hospitalController.UpdateGUI(playerManager.player); hospitalHandler.UpdateGUI(playerManager.player.body); }