Hi;
I have an gameobject ("MasterCameraRig") that has a script on it called "MasterCamera". The script requires a gameobject variable called "Player". The scene is called after a previous scene where the user chooses a character to play with (previous scene is called "Dressing Room"). In my current scene ("City") I have an FSM that loads a player gameobject as part of the scene loading. The "MasterCamera" script is part of an add-on, so I don't want to change any code within it because it would get overwritten if I upgrade the add-on.
I need to be able to set the "Player" gameobject variable based on the character chosen but I can't figure out how.
What is the best way to do this -
Sandi