This question was 
             closed Mar 06, 2016 at 07:48 PM by 
             klisman for the following reason: 
             
 
            The question is answered, right answer was accepted
 
               Question by 
               klisman · Mar 06, 2016 at 07:00 PM · 
                c#gameobjectschildrencomponents  
              
 
              Make GameObject child of a child
I have a problem when placing a GameObject to be a child of a GameObject .
The current code make sub of pastsUpgrade[1], how can i make be sub of gridGameObject?
subButton.transform.SetParent (partShopItems[counter].transform);
Example in folders representing gameobjects (please consider partShopItems[counter] as partUpgrades[1] in image)

 
                 
                zeu3yha.png 
                (2.5 kB) 
               
 
              
               Comment
              
 
               
               
               Best Answer 
              
 
              Answer by klisman · Mar 06, 2016 at 07:47 PM
Solved using this : partShopItems[counter].transform.Find("SubUpgradesGrid")
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                