1 / 20

Introduction to Unity 2D Game Development

Introduction to Unity 2D Game Development. Lecture based on Learning C# by Developing Games with Unity by Greg Lukosek. Downloading Unity. The best place to download the latest version Unity website: https://unity3d.com/get-unity/download

margota
Download Presentation

Introduction to Unity 2D Game Development

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  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: https://unity3d.com/get-unity/download 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 email 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 http://docs.unity3d.com/ 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/

  5. 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, or Right-click the Project tab, and from the pop-up menu, navigate to Create | C# Script.

  6. 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...

  7. Unity IDE is Customizable When working in a team, you will notice that teams members have their own layout preferences.

  8. 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.

  9. using System.Collections; using System.Collections.Generic; using UnityEngine; publicclassmyScript : MonoBehaviour { // Use this for initialization voidStart () { } // Update is called once per frame voidUpdate () { transform.Rotate(10, 10, 10); } }

More Related