Unity C# Scripting : Complete C# for Unity Game Development

Video Description

Learn C# Scripting for Unity Game Development from Absolute Basics and create your own 3D & 2D Games with Unity using C#.

About This Video

  • Gain a strong understanding of C# and basic programming concepts
  • Build example games with Unity
  • Learn complex concepts through a simple approach even without previous coding experience

In Detail

Unity is free, easy to learn, has excellent documentation, and is the game engine used for building modern games. Moreover, the career opportunities in Unity game development are countless and being able to learn C# scripting along with it will further build on your skills.

Get off to a steady start in game development with this course that covers all the essential concepts, tools, and functions that you'll need to build fully functional games with C# and the Unity game engine.

Starting with the installation of Visual Studio, this course will then take you through different C# language features and how to use them. You'll focus on the fundamentals of the Unity API, along with important object-oriented programming concepts. The course will also equip you with the knowledge you need to create reusable C# scripts. Later, you'll understand all about version control with GitHub, Bitbucket and SourceTree. In addition to this, you'll be able to implement basic artificial intelligence (AI) features in Unity.

By the end of this course, you'll be well-versed with C# scripting in Unity, and have developed the skills you need to create intuitive 3D and 2D games.

Downloading the example code for this course: You can download the example code files for this course on GitHub at the following link: https://github.com/PacktPublishing/Unity-C-Scripting-Complete-C-For-Unity-Game-Development. If you require support please email: customercare@packt.com

Table of Contents

  1. Chapter 1 : Introduction to Unity C# Scripting
    1. Introduction to This C# Scripting Course 00:01:21
    2. Downloading & Installing Unity 00:05:19
  2. Chapter 2 : Getting Started with C# Scripting in Unity
    1. Getting Started with C# Scripting in Unity 00:12:28
    2. Understanding Structure of a C# Script 00:09:22
    3. Event Functions in Unity C# 00:08:32
    4. Variables in Unity C# 00:09:16
    5. Public Variables in Unity C# 00:05:53
    6. The Update Function in Detail 00:08:40
    7. Function Basics in C# 00:08:34
    8. Functions with Return Type & Parameters in Unity 00:16:09
    9. If Else Statements in C# 00:17:30
    10. More Conditions and Equality Checking 00:04:35
    11. Understanding Boolean Variables 00:11:24
    12. Introduction to Arrays in Unity C# 00:16:19
    13. More About Arrays in C# 00:16:22
    14. Understanding for Loops in C# 00:11:58
    15. While Loops in Unity C# Scripting 00:11:16
    16. Learning foreach Loops in C# 00:09:31
    17. Switch Case Statements in C# 00:09:21
  3. Chapter 3 : Diving into Core Unity C# Programming
    1. Searching & Finding GameObjects in Unity 00:22:48
    2. Getting Access to Components using GetComponent Function 00:26:37
    3. Moving Rotating & Scaling with Transform Component 00:31:10
    4. Instantiating Random Objects in C# 00:20:02
    5. Repeatedly Calling Funtions with InvokeRepeating 00:10:56
    6. Working with KeyBoard Inputs in Unity 00:14:18
    7. Smooth Movement with Input.GetAxis 00:15:55
    8. Working with Mouse Input in Unity C# 00:21:09
    9. Working with Physics - Creating Player Controller 00:23:54
    10. Shooting Bullets Using Physics 00:16:22
    11. Checking Collisions in Unity with C# 00:11:36
    12. Working with Triggers 00:11:02
    13. Understanding LookAt function 00:11:58
    14. Loading Scenes / Levels in Unity with C# 00:13:41
  4. Chapter 4 : Intermediate Unity C# Scripting Concepts
    1. Classes & Objects - Object Oriented Programming Concepts 00:17:21
    2. Constructors in C# Unity 00:13:30
    3. Using System.Serializable to Initialize Objects 00:07:22
    4. C# Properties - Everything You Need to Know 00:18:10
    5. Enums in C# 00:14:17
    6. Inheritance in C# - Part 1 00:13:27
    7. Inheritance in C# - Part 2 00:12:38
    8. Polymorphism Virtual Functions & Overriding in C# 00:14:16
    9. Static Variables Functions & Classes in C# 00:18:26
    10. Understanding Method Overloading in C# 00:12:51
    11. Using Namespaces in C# & Unity 00:15:28
    12. Working with Attributes in Unity 00:11:49
    13. Understanding Coroutines in Unity C# 00:22:25
  5. Chapter 5 : Create a 2D Candy Catch Game - Start to Finish
    1. Setting Up Sprites for Game Characters & Backgrounds 00:15:50
    2. Setting Up the Candies 00:08:38
    3. Creating Player Controller 00:10:31
    4. Restricting Player Movement within Boundaries 00:06:04
    5. Checking if Monster Eats Candies 00:08:09
    6. Removing Candies when Out of Screen 00:04:31
    7. Spawning Random Candies 00:11:15
    8. Spawning Candy at Random Position 00:05:26
    9. Repeatedly Spawning Candies 00:09:08
    10. Checking Score 00:05:25
    11. Showing Score UI on Screen 00:11:14
    12. Creating Lives Counter 00:04:26
    13. Showing Available Lives UI 00:10:44
    14. Stop Candy Spawning on GameOver 00:05:24
    15. Creating GameOver Panel 00:13:00
    16. Creating Main Menu 00:13:53
    17. Creating GameOver Menu Controller 00:04:48
    18. Animating the GameOver Panel 00:07:53
  6. Chapter 6 : Creating Useful C# Scripts Ready to Use in Your Projects
    1. Zooming in And Out in Unity with C# 00:22:19
    2. Creating Camera Shake in Unity with C# 00:23:57
    3. Rotating Objects with Mouse with C# 00:13:16
    4. Detecting Button Clicks and Calling Functions 00:14:04
    5. Create 2D Infinite Scrolling Background for Runner Games 00:23:57
  7. Chapter 7 : Scripting Basic Artificial Intelligence with C# in Unity
    1. Getting Started with Navmesh in Unity 00:22:37
    2. Chasing While Avoiding Obstacles 00:14:48
    3. All About NavMesh Agent in Unity 00:09:30
    4. Agent Moving on Ramp and Narrow Places 00:10:49
    5. Moving Intelligent Agent Upstairs 00:06:18
    6. Intelligent Agent Jumping with Off Mesh Links 00:07:28
    7. Creating Off Mesh Links Manually 00:09:13
  8. Chapter 8 : Scripting for Android & Mobile Devices in Unity
    1. Creating Your First Android Game - Complete Process 00:36:19
    2. Getting Started & Setting Up Android Development Environment 00:42:46
    3. Working with Touch Inputs in Unity C# 00:19:35
    4. Touch & Destroy Objects with RayCasting in Unity C# 00:22:27
    5. Accelerometer Inputs in Unity C# 00:21:59
    6. Touch Swipe Controls in Unity C# 00:27:21
    7. Touch Joystick Input Controller in Unity C# 00:31:31
    8. Creating Responsive UI in Unity 00:15:18
  9. Chapter 9 : Learn Version Controlling - Manage Your Unity C# Projects Effectively
    1. Why Use Version Controlling in Your Projects 00:15:19
    2. Cloning and Creating New Repository 00:12:43
    3. Practical Version Controlling Example 00:13:50
    4. Branching Your Projects 00:07:53
    5. Pushing Local Repository to Github & Bitbucket 00:05:35
  10. Chapter 10 : Build A Complete 3D Game with Unity & C#
    1. Setting Up the Game Level 00:12:35
    2. Controlling the Ball 00:13:51
    3. Moving Ball After First Touch 00:06:45
    4. Checking When the Ball Falls Off the Platform 00:13:07
    5. Camera Following the Ball Smoothly 00:16:37
    6. Make Platforms Fall Down After Ball Goes Away 00:11:57
    7. Spawning the Platforms 00:13:10
    8. Random Platform Spawning Algorithm 00:09:14
    9. Fixing Platform Falling 00:04:09
    10. Creating Diamonds and Randomly Spawning 00:13:00
    11. Destroying Diamonds on Collision 00:05:27
    12. Creating Awesome Particle Effects 00:10:40
    13. Create UiManager and Text Animations 00:17:41
    14. More Main Menu Ui Animations 00:17:16
    15. GameOver Menu and Animations 00:11:04
    16. Scripting the UiManager 00:13:07
    17. ScoreManager Score and HighSchore 00:11:47
    18. Creating GameManager and Controlling the Whole Game 00:06:51
    19. Final Fixes and Finishing the Game 00:18:05
    20. Building and Publishing Our Game 00:06:44

Product Information

  • Title: Unity C# Scripting : Complete C# for Unity Game Development
  • Author(s): Raja Biswas
  • Release date: July 2019
  • Publisher(s): Packt Publishing
  • ISBN: 9781838985035