title: Add gameobject dynamically to scene in Unity3d
body: <p>I am creating a scene in which I want to show list of offers. In order to show the offer, I created a prefab with placeholders for the offer details which I will get at runtime. I created a place holder in the scene to add the prefab to the scene, but it is not showing on the UI.
  OfferHolderClass:</p>
  
  <pre><code>using UnityEngine;
  using System.Collections;
  
  public class OfferHolder : MonoBehaviour {
  
      public GameObject localOffer;
      // Use this for initialization
      void Start () {
          GameObject offer = Instantiate(localOffer) as GameObject;
          offer.GetComponent&lt;Offer&gt;().Text = "Testing";
          offer.transform.parent = this.transform;
      }
  
      // Update is called once per frame
      void Update () {
  
      }
  }
  </code></pre>
  
  <p>I am new to Unity and am not sure what I am missing here.</p>