I am making an RPG game where you can go out of the village and battle and do sorts of things, but every time the player gets damage and he goes back into the town everything resets, is there a way to keep my variables the same when I change a scene?
Put the variables in an object and calls Object.DontDestroyOnLoad
Thanks guys that really helped but for some reson when I go back into my town my player duplicates it self
How can I stop this?
Will it work if I put in a count of no. of players and if it is more than one, destroy the rest. Will that work?