// Use this for initialization void Start() { ls.GetComponent <LoadScene>(); resetVariables(); gameoverPanel.SetActive(false); gameoverDoOnce = true; }