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 method 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 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 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 effective 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
Building UI Animator
Animating Game Menu With UI Animator
-
7Driver Introduction
-
8Driver Playback Direction
-
9Driver Progress
-
10Driver Looping
-
11Driver Callbacks
-
12Driver Custom Wait Time
-
13Driver Autostart, Pre-Start and Post-Reset
-
14Driver Refactoring
-
15Transform Controller Introduction
-
16Controller Auto Connect To Driver
-
17Controller Animate From Value To Value
-
18Controller Animate In Specific Axes
-
19Controller Animation Curve Easing
-
20Controller Refactoring To Abstract Class
-
21Image Controller
-
22Canvas Group Controller
-
23Controller Preview Animation In Editor
-
24Controller Remote Driver Access
-
25List Player Part 01
-
26List Player Part 02
-
27UI Animator Refactoring And Export
Building Idle Clicker Game
State Machine With Coroutines
-
30Game Manager Part 01
-
31Game Manager Part 02
-
32Creating Item Data And Item Manager
-
33On Click Process
-
34Creating Item Animations
-
35Item Available Logic
-
36Item Can Buy Logic
-
37Item Can Buy Manager Logic
-
38Finishing Item Prefabs
-
39Robot Animations
-
40Cook Progress Manager Part 01
-
41Cook Progress Manager Part 02
-
42Start Game Animation