Question by 
               Slashscreen · Jul 16, 2016 at 12:42 AM · 
                scripting problemscript errorcrashingself  
              
 
              BCE0164 and self recurring problems
When this script gets run, it returns a "BCE0164: Cannot infer generic arguments for method 'UnityEngine.Component.GetComponent.()'. Provide stronger type information through arguments, or explicitly state the generic arguments." error, but before I added the if statememnts and stuff, since it makes a collider sphere and blows up everything in the sphere, and it is in the sphere, it alls itself over and over again and crashes unity. What did I do wrong and how do I fix it?
 case "Boom":
                         var bomb = gameObject.Find(otherHit.GetComponent().name);
                         if (bomb !== gameObject.GetComponent.<Collider>().GetComponent().name){
                             bomb.SendMessage("explode");
                             print("KABLOOIE!");
                         }
                         break;
               Comment
              
 
               
              Your answer
 
 
             Follow this Question
Related Questions
How do i make my enemies face the player? 2D 0 Answers
How do I fix this error? 0 Answers
Halo AddComponent problems 1 Answer
What's wrong with my script? 1 Answer
error CS0103: The name `yourCharacter' does not exist in the current context 1 Answer
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                