Make a hierarchical finite state machine [Unity/C# tutorial]

Published: 28 July 2021
on channel: Mina Pêcheux
15,566
331

#unity #csharp #tutorial #statemachine #fsm #gamedev
In this Unity tutorial, let's see how to improve the basic finite state machine we did in a previous tutorial and transform it into a hierarchical FSM to add a jumping state!

For the text version, check out the Medium article:

  / make-a-hierarchical-fsm-in-unity-c  

Download the scripts from Part I and Part II:
https://github.com/MinaPecheux/UnityT...

0:00 - Introduction
0:32 - About hierarchical FSMs
1:50 - Adding object layers
3:35 - Updating our class hierarchy
8:16 ​- Implementing the jumping state
14:44 - Testing it out!
16:00 - Quick note on the logic inheritance
17:09 - Sum up & final thoughts

Links in the video:
Part I (Basic FSM in Unity/C#):    • Make a basic finite state machine [Un...  
The State Pattern (C# and Unity) - Finite State Machine, by One Wheel Studio:    • The State Pattern (C# and Unity) - Fi...  


Watch video Make a hierarchical finite state machine [Unity/C# tutorial] online without registration, duration hours minute second in high quality. This video was added by user Mina Pêcheux 28 July 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 15,566 once and liked it 331 people.