Saving data between levels in Unity 2D - Tank game tutorial P16

Опубликовано: 31 Март 2021
на канале: Sunny Valley Studio
8,966
226

In this Unity 2020 tutorial we will learn how to persist data between scenes. We will save the health of our player and the scene index using PlayerPrefs and create Main Menu scene where we can reload last player level.
This is part of the 2D Top Down Tank game tutorial series. Playlist    • Top Down 2D Tank Game  

00:00 Introduction
00:53 Preparing additional scenes
01:55 Creating Menu Scene
04:31 Save System script
14:01 Game Manager script
20:59 Adding a transition between levels
27:49 Testing
29:24 Support me maybe?

Resources
Scripts and UnityPackages: https://github.com/SunnyValleyStudio/...
Full project: https://drive.google.com/drive/folder...

Would you like to learn how to make a 2d shooter in Unity?
https://courses.sunnyvalleystudio.com/

You can support me through Patreon:
  / sunnyvalleystudio  

Assets used:
https://www.kenney.nl/assets/topdown-...
https://github.com/sparklinlabs/super...

Join the discord:
  / discord  


Смотрите видео Saving data between levels in Unity 2D - Tank game tutorial P16 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Sunny Valley Studio 31 Март 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 8,966 раз и оно понравилось 226 людям.