Back to Browse

Unity Playmaker - Player Prefs and Locked Level Menu System

4.2K views
Sep 26, 2021
17:43

In this Unity Playmaker Player Prefs and Locked Level Menu System tutorial, I'll show how you can set up a locked menu system. I'm showing just 3 levels but you can set up as many as you would like. Levels and the menu will show as locked until you have finished the previous level. I will use Player Prefs to both Get the current level number and to Set the current Level number. I'll also briefly show how I am using the create game object to load a Prefab Level into the scene and also when the level is complete that it calls back to the Level Reset in our Level Manager to delete the current level and to then allow the next level button to be revealed and go to the next level. I'll also show how to Clear your PlayerPrefs. (to Join my discord server add a comment and I'll reply with the latest invite code) โ–บ Download Playmaker at https://bit.ly/3dV8JzC โ–บ Download Unity at https://unity.com Contents: 0:00 Introduction 0:19 Run-through of Project Parts 2:11 The layout of the Main Menu and it's FSM 2:30 Setting up the Level Selector 2:45 Player Prefs Get Int 4:44 Setting up a Playmaker Int Switch 7:31 Menu - Level 1 - Player Prefs Set Int to 1 8:22 Menu - Level 2 - Deactivating the Level 2 Button Cover (option 1 method) 9:13 Menu - Level 3 - Destroying the Button Covers (an alternate method) 10:01 Level 1 Prefab - Resetting Level 11:56 Setting up Reset Level in our Level Manager 12:49 Get Child of our Level Spawn Point 13:36 Destroy the Current Level 13:52 Turn back on Menu with Activate Game object 16:26 Clearing PlayerPrefs for testing 16:49 Conclusion ๐Ÿš€ Download Trixel Rocket for free on App Store at: https://apple.co/31s4gzt ๐Ÿ‘‰๐Ÿผ To Sign up for email updates on my latest tutorials and game progress. https://sendfox.com/bliz ยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยท โ™ฅ Subscribe to my channel: https://bit.ly/31wL83n ๐Ÿ‘• T-shirts! https://bit.ly/2CYvdBl โ— Website: http://bliz.studio/ โ— Twitter: https://twitter.com/BlizStudio โ— Instagram: https://www.instagram.com/blizstudio/ โ— Facebook: https://www.facebook.com/blizstudiogames ยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยญยญยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยญยทยญยทยทยทยท โ–บ All content by Bliz Studio is 100% free. I believe that education should be available for everyone. Any support is truly appreciated so I can keep on making content free of charge. ยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยญยญยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยญยทยญยทยทยทยท โ™ช "Once Was" by Kwon @ Youtube

Download

0 formats

No download links available.

Unity Playmaker - Player Prefs and Locked Level Menu System | NatokHD