Hi all,
I am very confused on how to check the value of a Playerpref. I have looked online at tutorials, but they only cover setting the player's position. I would like to write code that check if the value of a playerpref it equal to a number, than it does something. More specifically, when the player walks into a trigger, a cutscene will play, but when he dies and restarts, I don't what the cutscene to play.
↧