Download presentation
Presentation is loading. Please wait.
1
Introduction to Unity 2D Game Development
Lecture based on Learning C# by Developing Games with Unity by Greg Lukosek
2
Downloading Unity The best place to download the latest version Unity website: Individuals can download a free, fully-functional copy of Unity for personal use. To activate your copy of Unity you need to create your account and then respond to the verification message you receive from Unity. We will be using the Unity Reference Manual for support with a topic. For detailed coding help and examples we will use the Scripting Reference.
3
Unity Documentation We will be using the Unity Reference Manual for support with a topic. For detailed coding help and examples we will use the Scripting Reference. Documentation available at Docs also available thorugh Help menu on top bar as well as the help menu next to the component name.
4
https://docs.unity3d.com/ScriptReference/
7
How to Create a Script & Associate it with your Unity Project
You can, In the menu, navigate to Assets | Create || C# Script, or In the Project tab, navigate to Create | C# Script, Right-click the Project tab, and from the pop-up menu, navigate to Create | C# Script.
8
A Little Housekeeping As our Unity project progresses, we will have lots of different types of files in the Project view. It's highly recommended that you keep a clean and simple folder structure in your project Let's keep scripts in the Scrip[ts folder, textures in Textures, and so on...
9
Unity IDE is Customizable
When working in a team, you will notice that teams members have their own layout preferences.
10
Right-click the Project tab and create a folder named Scripts
Right-click the Scripts folder and create a C# script. To edit a C# script, double-click its icon. This will launch Visual Studio IDE into the C# Text Editor.
15
using System.Collections;
using System.Collections.Generic; using UnityEngine; public class myScript : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () transform.Rotate(10, 10, 10);
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.