title: Unity how to turn all lights off in prefabs
body: <p>Hey guys I'm currently creating a little mobile game following a series on youtube and everything goes very fine, the game is working great and everything but I have one problem. </p>
  
  <p>So basically what the game does is to choose randomly a model from my prefabs, place it at a certain position and then does the same over and over again until you loose.</p>
  
  <p>But I just saw that when I created this models (on blender) I created some lighting system on all of them. So now, when they are instantiated there is too much light in the scene. I know I could simply reimport them without the lights but the problem is that I created a lot of prefabs using these models from blender, so I would have to start almost everything again.</p>
  
  <p>I was wondering if there was some script or a way to do that so when the prefabs are instantiated, all the lights attached to them are disabled.</p>
  
  <p>I also tried to go in the folder of the imported models or the first prefabs made and untick all the lights (Hemi) but when the GameObject is instantiated, the lights are still here. I think this is because I should make the change in the scene and then save it back in the folder but again I would have to do it all over again.</p>
  
  <p>Here is the way the prefab is made :</p>
  
  <p>Imported model -> First prefab -> Piece (2nd prefab) -> Segment (last prefab)</p>
  
  <p>And it is the segment that is instanciated (so with all the others in it).
  Thanks for your help :)</p>