Global require file?

If I have a char confit file, mentioned his HP=200, how could I not to hardcore but call a global file to retrieve this value in different scene?
E.g I have character select scene and actual arcade scene.

It doesn’t look nice to hardcore setting in different script files.

Thanks for the pointer

… wut?

I think I get what you mean, although reading this was a riddle in itself
and I did a quick google search and instantly found an answer
you should probably do google searches first you’ll save yourself alot of time lol

:slight_smile:

Have a look at dont destroy on load

Also think about having a game manager to hold these sort of variables etc.

http://www.fizixstudios.com/labs/do/view/id/unity-game-state-manager

sweet I didn’t even know about this. this is going to come in very handy!