Quantcast
Channel: Questions in topic: "dontdestroyonload"
Viewing all articles
Browse latest Browse all 416

Should I use DontDestroyOnLoad or prefab for player

$
0
0
I am making a 2D Platformer game (my first game). At the end of each level, a "Level Complete" screen appears, where the user can press a button to go to the next level. I use different scenes for each level. My question is, should I use DontDestroyOnLoad for the player when changing scenes or should I have a prefab for the player and a different player object in each scene?

Viewing all articles
Browse latest Browse all 416

Trending Articles



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