- Home /
Question by
trnq1ll0 · Dec 10, 2019 at 10:44 AM ·
gameobjectprefabfbxfind-gameobject
Find GameObject from prefab in instantiate
Hi,
i have a fbx, some parts of that should get some more functions from another script on runtime. So i pull these parts as GameObject on a public var the "moreFunctions"-script.
On runtime i instantiate the prefab but can't find a way to locate the selected parts.
Can't use GameObject.Find(), because the fbx parts have no name. And myFBX.GetComponentsInChildren() can't find a GameObject because it's not derive from Monobehaviour.
Thank in advance
Comment