Quantcast
Channel: Questions in topic: "playerprefs"
Viewing all articles
Browse latest Browse all 1333

How to check int value of PlayerPref

$
0
0
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.

Viewing all articles
Browse latest Browse all 1333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>