I literally have an exam tomorrow about software design patterns, this video could not have been timed better. You are the best!
I know this video is quite old now but just wanted to say this is the best video I've seen on this pattern, well structured, paced and such great content. You make this very easy to understand and give great coverage on the topic. Excellent stuff.
Genuinely great content with concrete examples and practical advice for integrating it with Unity. So often tutorials either show coding things poorly but it seems fine in Unity (e.g. assigning a weapon directly), coding things great but no thought in how it will work with Unity (okay I have my sword but how do I get that into my characters hand!?). You do a good job of showing where things can be pure code and when you can use something like ScriptableObjects to create that bridge.
I made a comment earlier but YouTube seems to have removed it. It was a short comment saying I like the video. Thanks for showing how to apply patterns in game development. It's hard to find good videos about this. There are a lot about patterns, just not with specific game dev examples.
Thanks for Extension Methods!
Thank you so much, man! Having a look right now
Your videos are incredible, keep it up I think you'll gain some popularity on here. It certainly isn't easy but I've been working in unity for a few years now and have learned a good bit the last few weeks.
Another awesome video. I love these pattern videos.
I hope to see your channel blow up one day! These are really useful concepts you are teaching. Many thanks!
If college teachers explained things this well, humanity would be several centuries ahead now.
Finally i found a great channel, tks Adam for sharing your knowledge
Also, may sound random, but your code is just so clean and quite an inspiration
after watching your videos it looks you are gem on internet
Three spells with link to origin. But what if you add a spell with special logic? You will need to add new abstract method to base strategy class. Something like Cast Spell(Transform[] points) All child classes will have to implement this method.
Surprised to ever see a Unity video again
@git-amend at 1:30, is there a specific reason that you are locally caching the indexer and then using it in the callback while using the for-loop indexer whan accessing the array?
YOU ARE AWESOME
I should advise everyone watching here that you should recycle all your objects instead of destroying or instantiating them as they have real overhead on larger scales. To have a production ready spell system you also need to think about the scale of such systems and overhead as they can negatively impact performance on mobile phones. It's also important to understand that every solution has it's own applications and no 1 solution fits all.
Why the extra boilerplate of making your own delegate for the event ButtonPressedEvent vs Action<int>? Old Habits?
@git-amend