Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Unity Programming Fundamentals
Rating: 4.6 out of 5(60 ratings)
247 students

Unity Programming Fundamentals

A beginner's guide to programming in C# with Unity.
Last updated 7/2018
English
English [Auto],

What you'll learn

  • Write custom C# code from scratch
  • Enhance your Unity projects with custom components and assets written in C#
  • Read C# scripts written by others and know what the code is doing

Course content

6 sections57 lectures3h 51m total length
  • Introduction1:28

    Master the fundamentals of writing and reading C-Sharp scripts inside Unity to customize components and assets, connect scripts to Unity projects, and improve your workflow.

  • Who is this course for?0:45

    Learn scripting in Unity and start programming with fundamentals designed for beginners, including artists, designers, and producers, who want to bring designs to life in code.

  • Course outline1:21

    Explore Unity programming fundamentals by setting up the development environment, writing a first C-sharp script, and mastering object oriented concepts, Unity specific objects, and script interaction within a game scene.

  • Setup: Recommended software versions1:00

    Choose any Unity version for this course; it centers on C-Sharp Unity and the same development platform. Install Unity if needed and use Visual Studio Community Edition.

  • Setup: Installing Unity1:55

    Visit the Unity download archive, pick the older version, and run the installer. Install Unity, documentation, standard assets, and Visual Studio Community Edition, then code in C#.

  • Setup: Installing Visual Studio0:58

    Download Visual Studio Community from the official site, then on the workloads page select mobile and gaming and check game development with Unity to enable Unity tooling for coding.

  • Assumptions & Writing Your First Script4:09

    Create a new Unity project and write a C# script using the start method and debug log to print a message to the Unity console, attached to a game object.

  • Addendum: Opening Scripts in Visual Studio1:00

    Configure Unity to open scripts in Visual Studio by setting external script editor to Visual Studio 2017 Community in preferences, and browse to the program file if needed.

  • Section 1 Review

Requirements

  • Basic knowledge of Unity and its user interface
  • A desire to learn how to code in C#

Description

Do you:

  • Use Unity but are uncomfortable with C# scripting?
  • Have a game idea want to learn to code it effectively?
  • Work with programmers and want to understand the scripts they write?
  • Want to learn programming in a fun and game-oriented environment?

This course is for you!

In Unity Programming Fundamentals, instructor Benjamin Marshalkowski (from Board To Bits YouTube tutorials) takes you through the basics of programming, C# as a language and writing custom scripts to work within the Unity Engine. You'll learn about:

  1. Course Introduction
    This section of the course outlines the rest of the course material and introduces you to the tools with which you'll be working -- including how to get everything installed and running so you can write your first custom C# script.
  2. Programming Basics
    Become familiar with the foundational concepts of programming, including working with data in variables, calling methods, evaluating conditional statements and working with collections of data.
  3. C# Specifics
    Dive into object-oriented programming (the basis of C#), including how things like inheritance and polymorphism make classes more versatile. We'll also cover how to declare and define custom classes, and best practices when writing code in C#
  4. Unity-Specific Objects
    This section is a primer on the most commonly used objects that are unique to Unity's environment. It's an essential stepping stone to working with more complex features and classes in Unity
  5. How Scripts Communicate
    A program -- particularly one built in Unity -- is a network of various scripts communicating with each other to create an engaging system. Here, we'll cover all the ways that scripts can interact, using explicit commands, manual assignments or relying on events in Unity to connect essential components
  6. Going From Script to Scene
    Bring your scripts to life as we go in detail on how the classes we write interact with and inform the GameObjects they attach to in the game Scene. We'll also cover non-component elements like data classes and ScriptableObjects to expand our scripting toolkits.

Course features:

  • Learn at your own pace: Every video is under 15 minutes long, and most are less than 10 minutes, so you can make progress at any time
  • Illustrated concepts: In addition to hands-on exercises in most sections, lectures include visual aids to help describe advanced concepts
  • Adaptable content: These core fundamentals will help you across all programming, not just a specific feature or project

Who this course is for:

  • Aspiring game designers with limited or no programming experience
  • Artists, designers, level designers or producers who want to build their programming skills
  • Developers who want to take skills from C# tutorials and adapt them to their own projects