Question by 
               sickener · May 20, 2017 at 08:17 AM · 
                transformif-statementsfindwithtag  
              
 
              how to call something i was referring from if condition to inside of the if
   if (GameObject.FindWithTag("enemy").GetComponent<Renderer>().isVisible && GameObject.FindWithTag("enemy") != null)
          {
              enemyPosition = GameObject.FindWithTag("enemy").GetComponent<Transform>();
         }
this code does not work properly because i cant call the transform i want that i got from the if statement.Can someone please help me. If you need more code i can send more code.
               Comment
              
 
               
              Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                