// Use this for initialization
void Start()
{
//TODO trigger this after resize
hero = GameObject.Find ("Hero").GetComponent<Hero>();
GameObject lifeIndicator = GameObject.Find ("LifeIndicator");
Transform progressBar = lifeIndicator.transform.Find("ProgressBar");
_foreground = progressBar.transform.Find("Foreground");
_initialScale = _foreground.localScale;
hero.setLife(startLife);
}