how can I instantiate a gameobject as a child?
Options
I would like to instantiate a gameobject as a child of another that is present in the scene.
Normal Instantiate function allows me to do that but yours doesnt.
Normal Instantiate function allows me to do that but yours doesnt.
0
Comments
-
https://docs.unity3d.com/ScriptReference/Object.Instantiate.html
There are overload method where you can set the Parent, so the new created gbj is a child.
Just saw that you asking for photon specific way to do this.
There isnt, as far as i know. You have to create a work around yourself.0