Unity is a free program used for game development.
Unity is a cross-platform game development program used to create interactive 2D, 3D, VR, and AR games. You might recognize some of the games below, which were all developed using Unity!
A lot of indie game studios and creators have gotten their start on Unity, and so can you!
Let's start by downloading Unity. You can do thisby searching "download Unity" in whatever web browser you prefer.
Once its downloaded, install the Unity Hub and then sign in or create a Unity account.
If you already have the Unity Hub installed, make sure it is updated to the latest version.
Select the "Manage" icon and then "Add Modules" next to the Unity version editor you have installed under the "Installs" tab and make sure you have your preferred code-editing platform selected and installed.
For me that's VS Code.
Now we're set to start using the editor!
In the Hub select "New Project" and make sure the latest version of the editor is selected. Then find and select "Essentials Pathway" to get started.
Name your project and choose a suitable location on your computer to save it. Then launch!
We'll now go through the basics of Unity.
Use the layout dropdown in the top-right corner of the editor to switch from "Tutorials" layout to "Default" layout.
Unity won't automatically save your scene, so make a habit of saving it often so you don't lose any progress. If you have unsaved changes in your scene there will be an asterisk (*") next to the name of the scene at the top of the "Hierarchy" window.•
To save your scene press "Ctri+S" or on macOs
"Cmd+S".
Double-click the "Star" GameObject to frame it in view, then locate its "Position," "Rotation," and "Scale" in the values at the very top of the "Inspector" window.
Reduce the "X Position" value by 1 or 2 units to move the star closer to the platform and reduce the "Y Position" value by 1 or 2 to lower the star closer to the ground.
Enter "Play" mode again and collect the star, then exit when you are done.
Interested in exploring more of Unity's features? Come talk to me [DLS students] and explore Unity Learn!