How to Program in Unity: Command Pattern Explained

https://www.youtube.com/watc...
Learn the fundamentals of the Command Pattern in this new video break down! We'll explain how to use each component of the pattern using c# programming in unity! This tutorial explains important concepts behind the Command pattern and how to use programming! Today we will walk through an example project to showcase the benefits of using state, the state pattern and state machines in Unity! This is a new episode in a growing series on this channel: Programming for Production. In this series, we take relatively complex software development topics and try to explain them in easy-to-understand ways. Let's take our programming skills to the next level! SUPPORT THE CHANNEL: 💛 https://www.patreon.com/iHeartGameDev iHeartGameDev Merch: 💛 https://www.iheartgamedev.com WANT MORE? Interested in learning more about animating characters in Unity? Check out my growing series of tutorials: ✅ https://www.youtube.com/watch?v=-FhvQDqmgmU&list=PLwyUzJb_FNeTQwyGujWRLqnfKpV-cj-eO ✦ Like the vid? Please consider Subscribing! https://bit.ly/2YdIb6j ✦ Missed out on the last episode? https://youtu.be/bXNFxQpp2qk SOCIAL: ✦ Discord https://discord.gg/2AxUvsa ✦ Twitter https://twitter.com/NickyBoccuzzi LINKS FROM THE VIDEO: 🤖 Download Jammo for YOUR game: https://assetstore.unity.com/packages... ⭐ And Check Out @Mix and Jam ! https://youtube.com/MixAndJam GEAR: Lumix G7 Camera: https://amzn.to/3Kks1gZ Epomaker GK68 Keyboard: https://amzn.to/3Ke87EB Samson C01U Pro Mic: https://amzn.to/33kDdtG LG 27" Monitor: https://amzn.to/3qAHFwS Lepow 15.6" Portable Monitor: https://amzn.to/3287OtL Logitech G604 Mouse: https://amzn.to/3A6jNV4 Audio-Technica ATH-M50X Headphones: https://amzn.to/3tBaeMT X-Pen Artist 15.6 Pro Drawing Tablet: https://amzn.to/3FE5HLI Apple 15in MacBook Pro Laptop: https://amzn.to/3AbKdFc ►TIMESTAMPS: Intro: 0:00 Classes Deep Dive: 0:45 The Focus of Today: 1:30 Program LifeCyle: 1:45 The Question of the Day: 2:10 The Command Pattern Definition: 2:50 Classes Explained: 3:08 The Concept of the Command Pattern: 3:40 The Structure of the Command Pattern: 4:10 Meta Example: 5:34 CODE STARTS HERE: 6:30 Project Without Command Pattern Overview: 6:40 Refactoring with the Command Pattern: 7:18 Abstract Command Explained: 7:46 Concrete Command Explained: 10:00 Using just the Concrete and Abstract: 11:40 Invoker Explained: 12:12 Important point about the Command Pattern: 13:28 Lightswitch Invoker: 13:58 Decoupling: 15:00 TurnOff Refactor: 15:18 What this Invoker is missing: 16:27 Phillips Hue Example Setup: 16:47 A Better Invoker - LightApp Invoker: 17:22 Undo Functionality: 19:18 Whats might come next: 21:50
Home
/
Indie Game Developers
/
iHeartGameDev
/
How to Program in Unity: Command Pattern Explained