- For this course, you should be comfortableusing the Unity editor and be able to navigate around.If you've never used Unity before,you should first watchthe Unity 4.3 Essential Training course.You don't need to have experience scripting in Unity,but you should have some prior experienceprogramming in an object oriented language.If you already have experience withC# specifically, that's even better.This course will mostly be coveringprogramming topics that are specific to Unity,rather than teaching you general programming.

If you need a more general programming course,check out The Foundations of Programming,Object Oriented Design or the C# Essential Training courses.

Resume Transcript Auto-Scroll

Author

Released

3/24/2015

Unity games can be scripted in several languages, but the most popular and powerful choice is C#. In this course, game development engineer Kelley Hecker walks through the process of creating and attaching C# scripts to your game objects in order to customize their appearance and control their behavior. The course includes an in-depth exploration of the MonoDevelop scripting environment; MonoBehaviour, the base class for almost every script; and Unity's built-in classes, which prime your scripts for success. Plus, get an introduction to using the singleton pattern to manage game states and using events to respond to user input (for example, to deal damage when a player makes a mistake).

Topics include:

Defining classes and variables

Attaching scripts to objects

Understanding MonoBehaviour class

Using the Unity Scripting API

Importing assets

Using a singleton pattern to manage game state

Creating an event

Skill Level Intermediate

1h 19m

Duration

213,710

Views

Show MoreShow Less

Q: Why am I getting a script compile error when trying to load the exercise files?

A: This course was recorded in Unity 4.6, and Unity has since released Unity 5. There are two items to address for Unity 5 users.

First, you'll need to update the scripts when Unity prompts you to. Alternatively, you can load projects from the Unity 5 folder inside of the exercise files.

Second, when you import the Sample Assets (beta) for Unity 4.6 from the Unity Store, deselect or delete the WaterHoseParticles.cs file from the SampleAssets/Effects/ParticleSystems/scripts folder. This script is currently incompatible with Unity 5.

Q: Why can't
I see the Render
Settings option in the Edit menu?

A: The
Render Settings options have been moved in Unity 5. You can access them by going to the
Window menu and choosing Lighting. In the window that loads, Render Settings
can be found under the Scene tab.