Tutorialspoint

#May Motivation Use code MAY10 for extra 10% off

Mastering Coroutines in Unity

person icon Alexander Urik

4.2

Mastering Coroutines in Unity

Master Coroutines and create UI Animation system to drive your games

updated on icon Updated on May, 2024

language icon Language - English

person icon Alexander Urik

English [CC]

category icon Unity,Development,Game Development

Lectures -47

Resources -1

Duration -4.5 hours

4.2

price-loader

30-days Money-Back Guarantee

Training 5 or more people ?

Get your team access to 10000+ top Tutorials Point courses anytime, anywhere.

Course Description

The course begins with a basic explanation of coroutines and why they are so useful.

Then you'll learn the difference between normal c# methods, update methods, and coroutine.

Following on, we will start to build our UI animation system driven by coroutines.


Our UI Animation will include some advanced techniques like:

  • how to pause and resume the coroutine

  • how to check if coroutine is running

  • how to delay coroutine

  • how to get a callback from the coroutine

  • how to start multiple coroutines all at once

  • how to write custom yield instruction

Later when our system is finished we will export it as a Unity package so we will be able to use it in our next projects.

Our first project where we will use our UI Animation system will be a simple animated game Menu. Which will show us the flexibility of our system. The second biggest project will be a complete idle clicker game, full of interactive animations. The interesting fact will be that the game is created very effectively without any update method.

In the end, we will learn how to create State machines with the help of coroutines and also one very cool way how to optimize slow methods.


Why learn from me?

I created this course to share my passion for making games and help others to simplify their work.

I am trying to find effective and fast methods to solve problems, so I hope you will find some of my systems and tips and tricks useful also for you.


What you’ll learn

  • What are coroutines and what they are good for

  • Create UI Animation System

  • Callbacks from coroutines

  • Trigger Actions When Property is changed

  • Program Simple Game Without the need of Using Update Method

  • Optimize slow methods with coroutines

  • Write custom yield instructions

  • Create simple state machines with coroutines


Are there any course requirements or prerequisites?

  • Mac or PC.

  • You will need to download and install Unity 19.1 or later

  • You should be familiar with C# and the Unity Game Development Engine


Goals

What will you learn in this course:

  • Using of coroutines inside Unity with C#
  • Create state machines with coroutines
  • Create a custom UI animation system
  • Optimize slow methods with coroutines
  • Create a simple idle clicker game
  • Programming tips and tricks

Prerequisites

What are the prerequisites for this course?

  • You should be familiar with C# and the Unity Game Development Engine.
  • Mac or PC with Unity 3d 2019.1 or later installed
  • You will need to be able to read and write simple programs
Mastering Coroutines in Unity

Curriculum

Check out the detailed breakdown of what’s inside the course

Introduction
3 Lectures
  • play icon Course Preview 01:02 01:02
  • play icon Course Overview 02:41 02:41
  • play icon Useful Visual Studio Extension 02:16 02:16
Basics
3 Lectures
Tutorialspoint
Building UI Animator
21 Lectures
Tutorialspoint
Animating Game Menu With UI Animator
2 Lectures
Tutorialspoint
Building Idle Clicker Game
13 Lectures
Tutorialspoint
State Machine Example
5 Lectures
Tutorialspoint

Instructor Details

Alexander Urik

Alexander Urik


Course Certificate

Use your certificate to make a career change or to advance in your current career.

sample Tutorialspoint certificate

Our students work
with the Best

Related Video Courses

View More

Annual Membership

Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses

Subscribe now
Annual Membership

Online Certifications

Master prominent technologies at full length and become a valued certified professional.

Explore Now
Online Certifications

Talk to us

1800-202-0515