將Game Object轉成transform讓物件產生在該物件的child

 

[codebox 1]

 

  • someObject is a GameObject type
  • anotherObject is a GameObject type

 

Leave a Reply

Your email address will not be published. Required fields are marked *