hi all!
today,i made a script to spawn instanciate my gameplay objects,my main character and npcs for my game
everything works great except one thing…
my main character prefab contains a camera target for my smooth follow to follow… and since i instanciate my prefab, the smooth follow script cant keep my camera target as its target ref…
i am not good enough in script (yet :P) to know how and if its possible to go digg in my spawned prefab and pick the camera target to re assign it(ex: took me a full day to draw a gizmo and instanciate a prefab:P)
so i would really appreciate bit of help to find a solution to re assing my camera target(who is in my instance) in the smooth camera script once the game is launched.
big thx!!