Hey, I'm kind of a newb, so here's my newbie question:
In my current project, my player is a prefab. In the fsm controlling it, there are several times in which the player's fsm will access a game object in the scene.
For example, when the player dies, the screen flashes. This only works because I've told the fsm to animate a screen overlay using animator play. I tell it to use a specified object, and select the overlay in the scene. (The overlay is not a part of the player prefab.)
My question is:
Every time I make a change to the prefab, I have to manually go in to each scene and specify which object the player fsm needs to animate. This is going to get a bit annoying when I've got 50 levels.
Is there a way to preemptively tell the prefab fsm which gameobject it should look for?
Any help on this would make my day, as this has been causing me quite a headache.
Thanks!