(•̀ᴗ•́) و ̑̑ Hello everyone Welcome to my channel. In this episode, we will have a look at How to make Level selection screen in unity. Also, We will cover How to SAVE the data even we start a new game.
★★★ If you choose to download the starting project and follow this video, I highly recommend you to just use 3-4 scenes for saving your time. In this tutorial, I have established 13 scenes.
(Due to work based on the staring project, I don't want to delete any existing game objects which confuses others and make it as prefab and duplicate to save time. Each individual script and game object will be set one by one which will cost several seconds. Sorry for some places are not effective and inconvenient) (•̀ᴗ•́) و ̑̑
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
※Keyword※
PlayerPrefs.GetInt(), PlayerPrefs.SetInt(), PlayerPrefs.DeletAll(), int.Parse(), For loop, Array, Button OnCLick event, Scene transitions, Raycast Target
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
★ The whole process of this tutorial (Mute but including the UI part):
★ Staring Project:
★ Completed Project:
★ Resources(Sprites and Scripts) can be downloaded from my google drive:
★ Resources(Sprites and Scripts) can be downloaded from my Github:
(•̀ᴗ•́) و ̑̑ Text Version of this tutorial:
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
★ Timeline Of this tutorial ★
00:02 Introduction ※
00:45 Review the UI part ※
03:02 Start from Script ※
03:30 Update Level Button status ※
06:27 Press Button method ※
08:51 Each Scene Back Button ※
11:43 Save Data [PLayerPrefs.GetInt] ※
15:00 Unlock Next Level ※
18:35 Activate stars under the level instead of Blank(Gray) stars ※
19:52 Clear/Delete the data [PlayerPrefs.DeleteAll] ※
20:56 UI: Display stars ※
21:53 Final Results ※
22:16 Thanks and Stay tunes ※
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
★★★ Hopes SMASH likes and subs button. Very appreciate for your subscription.
Have a nice Day/Night!
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓

0 Comments