
Project updates to Unity 2019.
Download the Sample Game Project from the link in the Resources.
In this video, we review syntax for the basic loading of Unity Scenes.
Challenge yourself to extend the Scene loading methods. Create methods to reload the current Scene and load the next Scene automatically.
Let's create a new menu screen that allows the user to select specific levels in the game, instead of forcing us to start at level 1.
Our first new script describes the details of each level's mission, including its name, description, unique id and any decorative elements we'll use in the menu.
Let's create a list of these Missions and store them in a ScriptableObject, a useful container for storing data in the Unity project.
Here we create a new Canvas and UI Prefab and mock up a simple layout for our Level Selector.
Here we make a simple class that can select a single Mission from the MissionList, always staying within bounds of the list.
We will create a custom LevelSelectMenu component to connect the UI with the data in our ScriptableObject. This will complete our basic level selector.
In this video, we link the LevelSelectMenu to the MainMenu and make the Play button work!
Check out these other offerings from GameAcademy.school!
Are you ready to level up your game dev skills?
In this course, we will:
start with simple demo Unity project and add a front-end menu system
learn techniques for building reusable UI components and transitions in-between Unity scenes
learn the fundamentals of saving and loading persistent data locally from your application
create C# scripts line-by-line and learn how to architect game components cleanly and logically
Level up your Unity skills!
learn the Singleton design pattern
use statics and Generics to avoid repetitious code
explore PlayerPrefs and JsonUtility to save and load data
When you complete the class, you should have a full set of source code to build your own menu system and to save/load persistent data!
Learn from 40+ videos broken into small 10-15 minute lessons. Power through 6 hours of lectures and save weeks of coding!
Join the ever-growing ranks of our class and see what you can build today!
Note: the videos were originally recorded with Unity 2017.3 but the project files have been upgraded to version 2019.3. You should be able to follow along with the lectures using the latest version of Unity.