
Introduction To This Course
Install and set up Unity 6 using Unity Hub, obtain a personal license, install the editor with components (Visual Studio, Android and WebGL build support), and create a 2d project.
Download Unity via Unity Hub, create a Unity account for license, install an editor (LTS, or beta), set location, and add Visual Studio with Android, iOS, and WebGL build supports.
Installing and Setting up Unity 2022
Explore C# scripting basics in Unity through practical examples: destroying objects, mouse and keyboard input, rigidbody forces, collisions, scene loading, win text, and left-right movement.
Learn to build a Unity C# player controller with rigidbody movement, camera follow, coin collection via collisions, and audio feedback using an audio source and play one shot.
Learning About Lists in C#
Implementing Lists in Unity
Adding Items and Accessing Them
Removing Elements from the List
Adding & Removing Elements Dynamically
Learning About Stacks in C#
Implementing Stack in Unity
Pushing and Popping elements
Learning About Queues in C#
Implementing Queue in Unity
Enqueue and Deque elements
Learning About Dictionary in C#
Implementing Dictionary in Unity
Adding Items and Accessing Them
Understand why object pooling in Unity C# boosts performance by reusing bullets in a space shooter demo, preinstantiating, activating, and returning objects to the pool.
Learn how to implement a growing object pool in Unity, where the pool expands when empty, instantiating new objects, deactivating, and reusing bullets to prevent no reference exceptions.
Create an advanced object pool pro that supports multiple pools for different objects, using a dictionary and tags to get from pool and return to pool.
Explore vectors in Unity, learning magnitude, direction, and practical uses in game development. Use Vector3 and Vector2, and leverage magnitude and square magnitude alongside Unity's built-in vector operations in C#.
Explore unit vectors and normalizing in Unity, focusing on direction vectors with magnitude one, global versus local axes, and using Vector3.normalized to move objects toward a target.
Learn to rotate an object smoothly toward a target using quaternion slerp in Unity, replacing instant look rotation with gradual interpolation controlled by a rotation ratio.
Combine two quaternion rotations in c# with the star operator, using Euler angles to guide rotation. Understand that multiplication order matters and follows reverse-order application on a game object.
Discover how object oriented programming uses classes as blueprints for objects, defining attributes and behaviors like speed and move, and creating instances with new.
Explore how constructors in C# and Unity initialize objects, including default and parameterized constructors, overloading, and assigning properties with this, while using console logs to confirm calls.
Explore enums in C# within Unity to define game state types, expose them in the inspector, and drive behavior with switch statements and int values.
Learn how inheritance in C# creates an is-a relationship between classes, enabling derived dragon and robot enemies to reuse an enemy's attack, with public versus private access controls.
Study how inheritance in C# extends MonoBehaviour through enemy and dragon classes, call base.attack, and manage function hiding with public, private, and protected access.
Learn polymorphism in C# for Unity by overriding virtual attack methods in a dragon hierarchy, with blue and red dragons demonstrating base and derived behavior.
Discover how namespaces prevent name collisions in C# and Unity, and organize code with custom and nested namespaces, using directives, and Unity Engine UI.
Explore static variables, functions, and classes in C# within Unity, learning how to access shared data via the class name and understand instance versus class scope.
Expose private fields with SerializeField, control inspector visibility with HideInInspector and Range, and auto-attach a rigidbody via RequireComponent to prevent missing component errors.
Unity C# Scripting Intermediate - Upgrade Your C# Skills.
This course is all about Learning Intermediate C# Scripting concepts for Unity Game Development. If you have already learned the Basics of C# Scripting with Unity and are ready to upgrade your C# scripting skills to the next level, then this is the perfect Intermediate C# Scripting Course for you.
Course Curriculum:
1. Unity C# Scripting Crash Course:
In this Section you will brush up your C# Scripting skills for Unity Game Develoment.
2. Learn About Data Structures in C#:
In this section you will learn about different data structures like List, Stack, Queue, Dictionary and implement them using C# in unity.
3. Object Pooling in Unity with C#:
In this section you will learn about Object Pooling pattern and implement it using C# scripting. You will also learn how to use it in a real Unity 2D Game project using C#.
4. Vectors & Vector Maths:
In this section you will Learn about Vectors in Detail and implement them using C# in Unity. You will learn about Vector Dot and Cross products, Normalization and how to use them in real game projects in Unity.
5. Quaternions & Rotations:
In this section you will learn about Quaternions and how Unity handles rotations internally. You will implement Quaternion functions using C# . You will learn about Euler Angles , Lookrotation , Slerp and more features of the Quaternions in Unity.
6. Object Oriented C# Programming:
In this section you will learn about different object oriented programming concepts using C# & Unity. You will learn about Classes, Objects, Inheritance, Polymorphism and more in C#.
7. Miscellaneous C# Scripting Concepts:
In this section you will Learn about different C# Scripting concepts for Unity. You will learn about Namespaces , Co Routines , Static Variables & Functions , Function Overloading and more in C# .
Keep Learning