i searched all over internet but nothing worked for me, i instanciate prefabs inscene 5 prefabs and 1 is active, its character selection, when i click next next sets active.
in prefab i have hat gameobject inactive, and i want it to setActive on button.
i used
Hat=Gameobject.find
getcomponentinchildren
findgameobjectwithtag
but as its itactive i cant reference it.
any ideas?
thanks.