// Start is called before the first frame update void Start() { PlayerObj = GameObject.Find("player"); EnemyCountObj = GameObject.Find("Camera/Enemys"); Timer = 0f; EndTimer = 0f; one1 = false; one2 = false; anim1 = Back.GetComponent <Animator>(); anim2 = ClearText.GetComponent <Animator>(); anim3 = FadeOut.GetComponent <Animator>(); anim4 = failedText.GetComponent <Animator>(); }