title: Make into child of a object in unity 3d in c#
body: <p>My code is here</p>
  
  <pre><code>GameObject mainpumkinclone = (GameObject)Instantiate(pumkin, 
  floorPosition + new Vector3(x, y, z), Quaternion.identity);
  mainpumkinclone.transform.parent = transform.Find("prickle" + i);
  </code></pre>
  
  <p>But mainpumkincloneis not become a child of a specific prickle.</p>
  
  <p>Please help to solve this issue.</p>
  
  <p>thanks in advance.</p>