In an object’s inspector, is it possible to insert variables from another object in the scene?
Context:
In my game, you can name your characters. I’m using scriptable objects for the character skills, and one of it attributes is a Skill Description. I’d like this description to be able to use the character’s name in it, which I could do from within a script like this:
skill1.skillDescription = PlayerData.beastName + " likes fire a little too much and this proves it.";
(PlayerData is the game controller, which exists in every scene and contains all the custom variables like character names.)
Is there a way to do this within the inspector of the skill object, or am I going to have to have a separate script somewhere to hold my skill descriptions?