The State Pattern (C# and Unity) - Finite State Machine

Опубликовано: 28 Июнь 2020
на канале: One Wheel Studio
70,648
1.8k

The state pattern is a programming pattern that is also known as a Finite State Machine or FSM is a pattern that can be very useful for systems with a small to a medium number of distinct states or behaviors. The pattern can help to clean up and make it very clear exactly WHAT code is running.

Game Programming Pattern Book (affiliate): https://amzn.to/315mVBg

Blog Post on State Pattern: https://onewheelstudio.com/blog/2020/...

Project Files: https://github.com/onewheelstudio/Pro...

Become A Channel Member:    / @onewheelstudio  

My video and streaming kit: https://kit.co/onewheelstudio/tutoria...

Timecodes
Intro 0:00
Project Description 0:50
Programming with IFs 1:10
State Pattern Simple 2:04
State Pattern Class-Based 5:03
Final Thoughts 8:52
Outtakes 9:52

Discord: http://discord.onewheelstudio.com
Patreon:   / onewheelstudio  
Twitter:   / onewheelstudio  
Devlog: https://onewheelstudio.com/
Twitch:   / onewheelstudio  

#UnityTutorial #GameDevelopment #programmingpatterns #csharp #statepattern #finitiestatemachine #fsm


Смотрите видео The State Pattern (C# and Unity) - Finite State Machine онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь One Wheel Studio 28 Июнь 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 70,648 раз и оно понравилось 1.8 тысяч людям.