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

Опубликовано: 28 Июль 2021
на канале: 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...  


Смотрите видео Make a hierarchical finite state machine [Unity/C# tutorial] онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Mina Pêcheux 28 Июль 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 15,566 раз и оно понравилось 331 людям.