Intro to C# Programming and Scripting for Games in Unity

Learn the principle fundamentals of scripting and coding with the C# language for games inside of Unity!
4.3 (126 ratings) Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
3,870 students enrolled
$30
Take This Course
  • Lectures 61
  • Contents Video: 4 hours
    Other: 1 min
  • Skill Level Intermediate Level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 8/2013 English

Course Description

In this lesson, Alan Thorn is will be covering C# fundamentals as well as how to script in Unity using the C# language. Here you'll learn how to create basic script files and get and understanding for variables, functions, events, loops, conditional statements, and classes as you get your feet wet with programming in Unity. Don't miss it!

(Students - please look under Section 1 / Lecture 1 downloads for the source files associated with the lesson.)

More about the Instructor:

Alan Thorn is a game developer, author and educator with 15 years industry experience. He makes games for PC desktop, Mobile and VR. He founded 'Wax Lyrical Games' and created the award-winning game 'Baron Wittard: Nemesis of Ragnarok', working as designer, programmer and artist. He has written sixteen technical books on game development and presented ten video training courses, covering game-play programming, Unity development, and 3D modelling. He has worked in game development education as a visiting lecturer for the 'National Film and Television School', as a Lead Teacher for 'Uppingham School', and is currently a Senior Lecturer at 'Teesside University' where he helps students develop the skills needed for their ideal role in the games industry.

What are the requirements?

  • The Unity Game Engine

What am I going to get from this course?

  • Learn the basics of C# programming for Unity
  • Learn the basics of scripting and coding for Unity to bring more customization to your game

What is the target audience?

  • Beginners to the world of scripting and programming
  • People interested in customizing game elements for their projects

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: Basic Principles and Introduction
Download Course Files Here!
Article
Introduction
Preview
01:01
Creating a C# Script File
03:24
Compiling and the Console Window
02:32
Creating a Hello World Application
05:40
Introducing Variables
05:15
Writing Expression with Variables
03:23
Enumerations
04:31
Constants
03:03
Conditional Statements and If
05:54
For Loop
Preview
05:33
While Loop
02:20
Functions Introduction
05:35
Events Introduction
04:27
Functions with Arguments and Return Values
08:33
Classes Introduction
03:44
Rotating Objects with the Transform Class
05:05
Unity Class Documentation
02:25
Derived Classes Introduction
04:09
Extending a Class
03:44
MonoBehaviour
02:46
Section 2: Practical Application with Game Assets
Introduction
Preview
00:58
Coroutine Details
03:11
Creating a Coroutine
03:30
WaitForSeconds and Coroutines
03:32
Coroutines and Frame Delays
02:38
Going further with Coroutines
03:55
Components and Communication
03:06
Accessing Components
03:01
Searching for Components
02:36
Using BroadcastMessage
06:12
Polymorphism and Virtual Functions
05:51
Overriding Virtual Functions
03:34
Validation with C# Properties
06:28
Delegates
04:44
Moving Further with Delegates
03:42
GameObjects
03:12
Searching for GameObjects
05:06
Transforms and Hierarchies
05:39
Transforms and Translations
01:56
Transforms and Rotations
01:44
Transforms and Scaling
01:20
Singletons
07:00
Section 3: Advanced Principles
Introduction
Preview
00:57
Fixing Game Resolution From the Editor
Preview
03:12
Fixing Game Resolution From Script
04:31
Saving and Restoring Game Resolution
06:47
Editing Materials From Script
06:24
Creating Component Dependencies
03:32
Scheduling Regular Tasks
03:27
Creating Animation Curves
07:50
Preparing to Work with Curves
02:37
Animating Motion with Curves
08:19
Notifications and Events
03:30
Making NotificationsManager a Singleton Object
03:12
Using .NET Dictionaries to Record Listeners
03:08
Adding Listener Objects
03:35
Posting Notifications
03:00
Moving Further
02:39
Bonus Lecture: Further Learning with 3dmotive
Article
Bonus Lecture: Further Learning with 3dmotive
Article

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

3dmotive LLC, High Quality 3d and Game Art Training by Industry Pros!

3dmotive is High Quality 3d and Game Art Training by Industry Pros! Whether you are brand new to the world of Game Art, 3d, Architecture or Film - or maybe just interested in brushing up your techniques for intermediate or advanced levels of 3d with a focus on video games, 3dmotive is your one-stop-shop for all your 3d and Game Art related tutorials! Got questions? Interested in a new course topic? Let us know!

Ready to start learning?
Take This Course