title: How can I grab a reference of a game-object in a scene from a prefab
body: <p>currently I am working on a Equipment system that will Instantiate Game objects into the scene from a list, prior to this I was not using a Instantiation system with just keeping the Game Objects Active in the scene at all time.</p>
  
  <p>Now with Instantiating the Game Object(Prefab) I am running into the error of Loosing the References when I instantiate them, I have looked at various other articles before such as this Discussion here:</p>
  
  <p>However I am looking at alternative ways other than using Tags as this system may use a large amount of tags decreasing game performance overtime, would anyone know different methods as to saving references from a scene into a prefab?</p>
  
  <p>So as this is a new system I am really just looking for suggestions on how to save references of scene game-objects into a prefab, as my old system was just holding the game objects active in the scene and not actually instantiating them, once again I would love to hear different types of methods, something more than just using Tags.</p>
  
  <p>The References im trying to save are three Transform Elements from a script attached to my Prefab they are the following</p>
  
  <pre class="lang-cs prettyprint-override"><code>    public Transform camPos;
      public Transform aimLocation;
      public Transform crosshairLocation;
  </code></pre>
  
  <p>Currently I am just dragging and dropping the gameobjects from the scene into the public fields in the script</p>
  
  <p>Since this will be a major system I would like to not want to use tags for this system. But it is definitely a Valid option I am just looking for other methods for saving references of scene game-objects into a prefab When Instantiating the prefab into the scene, </p>
  
  <p>Thank you for taking the time to read and any suggestions would be greatly Appreciated!</p>
  
  <p>Any Questions Just Ask!</p>