This question was 
             closed Dec 29, 2015 at 11:18 AM by 
             Zedock for the following reason: 
             
 
            The question is answered, right answer was accepted
 
               Question by 
               Zedock · Dec 29, 2015 at 06:30 AM · 
                unity 5gameobjectarray  
              
 
              Adding GameObjects to an Array...Problems.
I have already looked around and can't find anything that works...
 using UnityEngine;
 using System.Collections;
 
 public class Restarter : MonoBehaviour 
 {
     public GameObject[] blocks;
     
     void Awake()
     {
         if (blocks == null)
             blocks = GameObject.FindGameObjectsWithTag("Respawn");    
             
         if(blocks.Length == 0)
         {
             Restart();
         }
     }    
     
     void Restart()
     {
         print("test");
     }
 }
 
 
               Comment
              
 
               
               koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                