Hello,
This is probably another very basic scenario that I’m having problems with, but I’d like to have a script parent instantiated objects into a given group in the Hierarchy. For example, I have an empty game object called TestGroup and a game object called TestObject(clone) that is created in-game via Instantiate() function. I’d like for the script to make the TestObject a child of TestGroup in the Hierarchy view.
I looked up “parent” in the scripting search but it seems to only work with the transforms of the object, not the hierarchy.
Any thoughts? Thanks,
-S