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

How to reference data between scenes

$
0
0
Hi! I have two scenes, a "menu" and a "dungeon". In the menu the player can select a race and a class. I want to be able to reference what class was selected in order to instanciate the correct class prefab. I poked around a little bit, and quickly realized that there are many ways to go about this. Would any of you have a standard or recommended way to go about exchanging data between scenes and between sessions? Ideally without (what I think might be) abusing playerprefs.

Viewing all articles
Browse latest Browse all 1333

Trending Articles



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