// Start is called before the first frame update void Start() { lose = gameObject.AddComponent <Lose>(); lose.Init(restartButton, newGameButton, mainMenuButton); }