Learn Intermediate C# Scripting for Unity Game Development

Video description

Welcome to an exciting journey through advanced Unity game development and C# scripting. In the first section of this course, you will embark on a Unity C# scripting crash course, refreshing and solidifying your scripting skills for Unity game development. Moving forward, you will explore the world of C# data structures, including lists, stacks, queues, and dictionaries, and learn how to implement them within Unity projects.

As you progress, you will dive into object pooling in Unity with C#, a powerful design pattern that you will seamlessly integrate into your scripts. Practical experience awaits as you apply object pooling in a real Unity 2D game project, enhancing your game development capabilities. Additional exploration of C# scripting concepts, such as namespaces, coroutines, static variables and functions, and function overloading, will further enrich your expertise.

By the end of the course, you will not only strengthen your C# scripting skills but also expand your knowledge across diverse areas, from data structures and object pooling to vectors, quaternions, and object-oriented programming in C#.

What You Will Learn

  • Learn about stack, queues, and dictionaries and their applications
  • Learn how to create a growing object pool
  • Explore the working of Euler Angles in C#
  • Learn to combine multiple quaternion rotations in C#
  • Learn about static variables, functions, and classes in C#
  • Learn to work with attributes in Unity

Audience

This intermediate course caters to aspiring game developers with some foundational knowledge of Unity and C# scripting. It’s also suitable for programmers and developers eager to elevate their skills in Unity game development. Whether you are keen on delving into advanced techniques, gaining hands-on experience with complex game features, or simply looking to bridge the gap between basic and advanced Unity scripting proficiency, this course is tailored to help you achieve your goals and become a more proficient game developer.

About The Author

Raja Biswas: Raja Biswas has taught game development and computer programming to thousands of people through his YouTube channel—Charger Games. He has helped many viewers publish their first game through his videos and has encouraged them to learn computer programming as well. He has a passion for learning new things and teaching those to anyone looking to learn.

Every day, Raja gets emails from all over the world, thanking him for all that he teaches through his tutorial videos. He is from India and has a diploma in engineering in computer science and technology and a bachelor’s degree in engineering in IT. He has learned and developed most of his skills from books and online tutorials and believes that anyone can learn anything today with the power of the Internet.

Table of contents

  1. Chapter 1 : Introduction
    1. Promotional Video
    2. Introduction to This Course
    3. Installing and Setting Up Unity 2022
  2. Chapter 2 : Unity C# Scripting Crash Course
    1. Learn C# Scripting Basics with Examples - Part 1
    2. Unity C# Scripting - Part 2
    3. Unity C# Scripting - Part 3
  3. Chapter 3 : Working with Data Structures in C# and Unity
    1. Getting Started with Lists in C#
    2. More About Lists with Practical Examples
    3. Stack and Its Application in C#
    4. Working with Queues in C#
    5. Implementing Dictionary in C#
  4. Chapter 4 : All About Object Pooling with Practical Examples
    1. Understanding the Need of Object Pooling
    2. Implementing a Simple Version of Object Pool in C#
    3. Creating a Growing Object Pool
    4. Creating an Advanced Generic Object Pool for Multiple Objects
    5. Implementing Multiple Object Pools with an Example
  5. Chapter 5 : Vectors and Vector Math in C# and Unity
    1. Everything You Wanted to Know About Vectors
    2. Unit Vectors and Normalizing
    3. Understanding and Implementing Vector Dot Products
    4. Vector Cross Products with Examples and Visual Demonstration
  6. Chapter 6 : Demystifying Quaternions and Rotations in Unity
    1. Why Are Quaternions Used and How Unity Handles Rotations
    2. Working with Euler Angles in C#
    3. Finding the Angle to a Target with LookRotation
    4. Interpolating Between Two Quaternions Using Slerp
    5. Combining Multiple Quaternion Rotations in C#
  7. Chapter 7 : Object-Oriented Programming Concepts in C#
    1. Understanding Classes and Objects
    2. Constructors in C# Unity
    3. Initializing Objects with System.Serializable
    4. Enums in C#
    5. Inheritance in C# - Part 1
    6. Inheritance in C# - Part 2
    7. Polymorphism Virtual Functions and Overriding in C#
    8. Using Namespaces in C# and Unity
  8. Chapter 8 : Miscellaneous C# Scripting Concepts
    1. Properties in C# with Examples
    2. Static Variables Functions and Classes in C#
    3. Method Overloading in C#
    4. Working with Attributes in Unity
    5. Understanding Coroutines in Unity C#

Product information

  • Title: Learn Intermediate C# Scripting for Unity Game Development
  • Author(s): Raja Biswas
  • Release date: October 2023
  • Publisher(s): Packt Publishing
  • ISBN: 9781804612064