private void Start()
 {
     stmp    = GameObject.Find("UI Screens").GetComponent <StampGen>();
     _tape   = FindObjectOfType <Tape>().GetComponent <Tape>();
     stopAll = false;
     Sci     = FindObjectOfType <Scissors>().GetComponent <Scissors>();
 }
 private void Start()
 {
     EG          = FindObjectOfType <EquationGen>().GetComponent <EquationGen>();
     timer       = FindObjectOfType <Timer>();
     spwn        = GameObject.Find("SpawnEngine").GetComponent <BoxSpawner>();
     stmp        = GameObject.Find("UI Screens").GetComponent <StampGen>();
     scre        = GameObject.Find("Score Bar").GetComponent <Score>();
     tape        = GetComponent <Tape>();
     changeColor = false;
 }
    public void InGameOverlayActive()
    {
        if (InGameOverlay.activeSelf == false)
        {
            Time.timeScale = 1;
            Paused         = false;

            stopTime.TheWorld = false;
            IsMainMenu        = false;

            MainMenu.SetActive(false);
            GradeSelect.SetActive(false);
            Options.SetActive(false);
            PauseScreen.SetActive(false);
            Labels.SetActive(false);
            InGameOverlay.SetActive(true);
            GameOver.SetActive(false);
            tape.ResetTape();
            scissors.ResecScissor();
            if (!musicTriger)
            {
                mainMu.Stop();
                gameAb.Play();
                gameMu.Play();
                musicTriger = true;
            }

            if (goback)
            {
                scoreZero = FindObjectOfType <Score>().GetComponent <Score>();
                scoreZero.ScoreZero();
                scoreZero.scoreTrigger = true;
                goback = false;
            }
            stmp         = GameObject.Find("UI Screens").GetComponent <StampGen>();
            stmp.canMake = true;
            Eqg          = FindObjectOfType <EquationGen>().GetComponent <EquationGen>();
            if (equationgen)
            {
                Eqg.StartShow();
                equationgen        = false;
                tape.startfunciton = true;
            }
            tape.ClearList();
            tape.startTape = true;
        }
    }