// Update is called once per frame void Update() { // Increase health/power by 0.2 a second: PowerBarGraphic.IncreasePower(0.2f * Time.deltaTime); HealthBarGraphic.IncreaseHealth(0.2f * Time.deltaTime); }