Undo and Redo with the Command Pattern - C# and Unity
One Wheel Studio
The command pattern encapsulates commands from the systems that execute or undo those commands. This is useful in asynchronous applications and is useful to create undo and redo functionality.
0:00 Intro 2:25 ICommand Interface 3:00 Move Command 4:00 Turn-Based Input Manager 5:06 Turn-Based Character Controller 6:00 Undo System 7:28 Redo System 9:15 Command Handler 10:43 Final Thoughts 11:23 THE END
Programming Pattern Files: https://github.com/onewheelstudio/Programming-Patterns
Become A Channel Member: https://www.youtube.com/channel/UCkr9CPPqT9VWUjkpo3HcACg/join T-Shirts: https://onewheelstudio.com/merch/ My video and streaming kit: https://kit.co/onewheelstudio/tutorial-video-production Recommended Game Design Books: https://kit.co/onewheelstudio/game-design-reading-list-unity-c-blender-and-more
Discord: http://discord.onewheelstudio.com
Patreon: https://www.patreon.com/onewheelstudio
Twitter: https://twitter.com/OneWheelStudio
Devlog: https://onewheelstudio.com/
Twitch: https://go.twitch.tv/onewheelstudio
#Programming Patterns #CommandPattern #GameDevelopment #cleancode #unity3d ... https://www.youtube.com/watch?v=LRZ1cuXiXTI
135272538 Bytes