This question was 
             closed Oct 19, 2020 at 08:25 PM by 
             codedbythet for the following reason: 
             
 
            The question is answered, right answer was accepted
 
               Question by 
               codedbythet · Oct 19, 2020 at 08:16 PM · 
                scripting problemgameobjectscripting beginnertimer countdown  
              
 
              Disable 2 Scripts during Countdown
I have 2 scripts that I am trying to disable at start that re-enables after the countdown is over. What I hav e for the countdown is...
 IEnumerator StartDelay(){
     Time.timeScale = 0;
     float pauseTime = Time.realtimeSinceStartup + 3f;
     while (Time.realtimeSinceStartup < pauseTime)
         yield return 0;
     countDown.gameObject.SetActive (false);
     Time.timeScale = 1;
 }
This completely disables everything. Instead I want to disable my scripts "PlayerMove" and "PlayerShoot" what the countdown is happening and then re-enables once the countdown is over.
how can I disable the Player -> PlayerMove from the delaystart gameObject?
               Comment
              
 
               
              Answer by codedbythet · Oct 19, 2020 at 08:24 PM
I found what I was looking for. Below had the answer.
https://answers.unity.com/questions/594607/enabledisable-script-on-different-gameobject.html
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                