Software Architecture in Unity

  Рет қаралды 113,636

Jason Storey

Jason Storey

Күн бұрын

Ever wondered what software architecture is REALLY about? Why do we bother?
---
If you would like to support me, feel free to donate to:
www.ko-fi.com/jasonstorey
(and get access to my discord)
----------
00:00 - Introduction
00:06 - Software Architecture Misconceptions
00:17 - Practical Example: Sample Script
00:41 - Software Architecture and Making Code Work
01:06 - Change Requests and the Importance of Change
01:31 - Adding a Feature: Toggling Messages
01:52 - Design Decision and Impact on Future Changes
02:19 - Alternate Version of the Script
03:00 - Controlling Logs from Multiple Classes
03:25 - Separate Loggers and No Code Changes
04:51 - Understanding the SOLID Principles
05:04 - Single Responsibility Principle
05:50 - Open-Closed Principle
06:49 - Conclusion

Пікірлер: 316
@Tarodev
@Tarodev 2 жыл бұрын
Beautiful scene, interesting code visuals, funny memes and _solid_ information. Well done Jason, it's about time you released a damn video!
@Betruet
@Betruet 2 жыл бұрын
Not to mention a powerful cameo
@kingbling7571
@kingbling7571 2 жыл бұрын
Solid I see whtchy did there
@waltermunozguaman7591
@waltermunozguaman7591 2 жыл бұрын
I have the same opinion, awesome video!
@Unity3dCollege
@Unity3dCollege 2 жыл бұрын
Awesome video
@SojoTaku
@SojoTaku 2 жыл бұрын
Sir, why aren't you verified?
@Hazzel31337
@Hazzel31337 2 жыл бұрын
i am so glad you made him make a channel, such a good video
@accountdua9375
@accountdua9375 Жыл бұрын
Love you man...
@ahatcho138
@ahatcho138 Жыл бұрын
I Hope you learnt something.
@abdullah4653
@abdullah4653 5 ай бұрын
another amazing master is here@@ahatcho138
@iHeartGameDev
@iHeartGameDev 2 жыл бұрын
As always, you introduce me to new concepts that I wish I knew more about! Awesome work and explanation, Jason! Keep the vids coming ✨
@BigRookDigital
@BigRookDigital 2 жыл бұрын
Okay, we get it... you're good at what we need to get better at. More videos, thanks!
@turkeyjerkey
@turkeyjerkey 2 жыл бұрын
I love that you're publishing intermediate content in the context of Unity. There is very little such content available, and most YTers seem to avoid it (doesn't get the views or likes they want).
@handleneeds3charactersormore
@handleneeds3charactersormore Жыл бұрын
insert *shallow, overly optimistic, obnoxiously narrated video on simple functionality designed to get the views of noob users and send them in a downward spiral of pain the more unity they learn* video here
@Rev3rence
@Rev3rence 5 ай бұрын
The thing is, these concepts are fairly simple and basic when you come to game development from software development. The issue is people assume the 2 can be mutually exclusive. In reality, you can't and shouldn't attempt to make a game without having proper engineering skills OR good engineers to support you. It gets worse, because working with an engine is inherently limitting. You are bound by the rules and whims of the engine and your software architecture is limitted due to that. It requires even more practical experience and theoretical knowledge to find the best practices in the specific context you are thrown into.
@Alexander_Grant
@Alexander_Grant 4 ай бұрын
@@Rev3rence I recently found a community that has a bunch of hobbyists making games and put myself out there to join some games in progress, and the projects I've looked at that are already partly through are full of code that reads like tutorial code. Some of them are big enough that I have no idea how the project even starts up. I had to tell a couple of teams that their project wasn't right for me because unpacking that code or trying to add features to it was brutal. It is crazy how much actually learning computer science changes the way you think about this kind of stuff.
@dawidblum8461
@dawidblum8461 2 жыл бұрын
I love the presentation, easy to understand examples, great narration and that every video provides a goal to achieve on your own that improves your overall skillset and knowledge. Can't wait for more videos! Keep up the great work Jason!
@kevonboxill9455
@kevonboxill9455 2 ай бұрын
cant remember commenting but watch this video 3 times.. these last two were just because you did it so well...kudos to you my bro!
@0ptixs
@0ptixs 2 жыл бұрын
Just started their video and wanted to comment on the "don't focus on the lines of code, focus on the decision making behind it" absolutely love it, that is what I've been missing from all these KZfaq tutorials, I could care less about what actual code I should enter, I can figure that out with documentation, but the actual logic and decision making behind developing is what I need the most help with. Think I'm going to enjoy a lot of your videos
@guardianoftheledge4966
@guardianoftheledge4966 2 жыл бұрын
With so many moving parts in a project, it is so easy to miss the forest for the trees. This is a very nice video. I look forward to seeing more from you in the future!
@crazyfox55
@crazyfox55 2 жыл бұрын
This is the best tutorial on this subject. The distinct separation of the architectural changes from the feature changes was very insightful.
@GordonArber
@GordonArber 2 жыл бұрын
I love the editing in this one Jason! Well produced! Also awesome content!
@alaslipknot
@alaslipknot 2 жыл бұрын
Amazing content! Jason and Tarodev are by far my favorite game dev channels now, short, accurate, and straight to the point! Jason can you cover dependency injection in the future please ?
@okanerkan1873
@okanerkan1873 2 жыл бұрын
I know it takes a lot of effort but please keep making more videos, it's hard to find mid or above level stuff with good explanation. Thanks.
@kevinrobertandrews
@kevinrobertandrews 2 жыл бұрын
I appreciate how thoughtfully worded you made this tutorial. Thanks for sharing!
@saltyspacenerd5581
@saltyspacenerd5581 2 жыл бұрын
Thanks again Jason, You are a great teacher. I am looking forward to more videos as your channel grows. Ill be sure to keep watching them. So valuable!
@markcooke4866
@markcooke4866 2 жыл бұрын
I love the simplicity of your example and how you explain not just what to do, but why it's a good practice. Looking at the rest of the code, I could also see pulling out the code to compute the HitInfo from the mouse position as a separate concern.
@pixeldevlog
@pixeldevlog 2 жыл бұрын
This is one of the most useful videos on the internet. Following exactly this solves soo many problems.
@joshreylearning8253
@joshreylearning8253 9 ай бұрын
I really appreciate this video, I had read over the solid principles a few months ago and mostly didn't understand them, but this video made them much more clear to me. Thank you!
@DoomCatcher
@DoomCatcher 2 жыл бұрын
Really useful video I just wish it was longer with even more examples, please make more videos expanding on this topic.
@Pdude2k9
@Pdude2k9 2 жыл бұрын
Great video, it's more rare to find videos about this topic than just another language feature. Keep up the good work!
@ElBARTO298
@ElBARTO298 2 жыл бұрын
dude . you are the best. i love the passion you put into you editing and the learning experience is just on another level.
@Juanborgesv-
@Juanborgesv- 2 жыл бұрын
Great video Jason! Can't wait to see more 👏
@roydrinkwater
@roydrinkwater 2 жыл бұрын
I need more videos like this one. Very effective examples and to the point!
@jordanfischer3693
@jordanfischer3693 2 жыл бұрын
Great video, love how you use simple understandable examples.
@kanz0bgz
@kanz0bgz 2 жыл бұрын
Great stuff, really loving these videos. Looking forward to the next one.
@maweill
@maweill 2 жыл бұрын
Amazing editing and content. Thanks a lot, Jason!
@wilmirosa7076
@wilmirosa7076 2 жыл бұрын
Your content is fantastic because is clear and concise. Glad to be your follower Jason,
@wvaviator3408
@wvaviator3408 2 жыл бұрын
Excellent advice and example
@Tvtig
@Tvtig 2 жыл бұрын
This might be the greatest software design and architecture resource I've come across in my 10 years of software development. I wish every new developer knew about it and studied what you are saying in detail.
@fulongfromthegrave
@fulongfromthegrave 2 жыл бұрын
I felt like all that needed to be said! Looking forward to the next one :)
@redenvalerio601
@redenvalerio601 2 жыл бұрын
Please continue this kind of contents!! I love it! Thank you!
@Bardent
@Bardent 2 жыл бұрын
Don't focus on the lines of code, focus on the decision making behind it. Love it!
@GlennThomasJr
@GlennThomasJr 11 ай бұрын
Your page is amazing! I scour for these higher level thinking concepts!
@willnmari5998
@willnmari5998 2 жыл бұрын
wow that was eye opening! especially the Log() method - thanks!
@Passenger-vf8pp
@Passenger-vf8pp 11 ай бұрын
Thanks for the video! I have been working quite a while on improving the workflow of code development and teamwork. This video definitely helps!
@biobear01
@biobear01 2 жыл бұрын
Please do more of these! Great info and made me realize I need a lot more architecture training!
@biobear01
@biobear01 2 жыл бұрын
Going more in depth on solid is probably a great start for more video topics. Each principle could surely use its own explanation and unity example?
@jirushi3028
@jirushi3028 2 жыл бұрын
It's getting better and better
@nickygdev
@nickygdev 2 жыл бұрын
Incredibly informative as always
@teknofis2604
@teknofis2604 2 жыл бұрын
Your videos are just .. Wow! Pls keep'em coming
@kayumiy
@kayumiy 2 ай бұрын
It is absolutely phenomenal explanation of SOLID and Software Architecture. You did well. Thank you.
@waltermunozguaman7591
@waltermunozguaman7591 2 жыл бұрын
Awesome video!, so much quality
@AlexBlackfrost
@AlexBlackfrost 2 жыл бұрын
Great video, using console logs as an example was a great idea, it's something even beginners can understand. Looking forward to seeing "Unity is too slow part 2" 👀! Also, loved the colabs.
@hernandonj
@hernandonj 2 жыл бұрын
Clarification absolutely needed. Thank you so much.
@acryinshame
@acryinshame Жыл бұрын
thank you, i have struggled understanding the 'why' behind it and you described it easily in 7 mins.
@maple7rees-352
@maple7rees-352 9 ай бұрын
Subbed. Thank you for being so insightful and straightforward.
@omnicatalyst
@omnicatalyst 2 жыл бұрын
This was a fantastic explanation
@mrstruijk
@mrstruijk Жыл бұрын
Excellent information man!
@asliniarayanadam
@asliniarayanadam 2 жыл бұрын
Great content man, your points made me better in such a short time.
@mongrelgaming1473
@mongrelgaming1473 2 жыл бұрын
Thank you for the information you put out, being only a couple months into this new hobby your voice is one I listen to a great deal (as are a fair few of the other commentators here which I find interesting.) Also I think the new skills in video editing are noticable.
@aktchungrabanio6467
@aktchungrabanio6467 Жыл бұрын
Absolutely beautiful solutions Jason. Thank you for these tips. You are a gem
@Nihilp
@Nihilp Жыл бұрын
precious stuff here! mindchanging ! i'm rewriting all my code with this philosophy and i'm happy with it! thx!!!!
@henryh7140
@henryh7140 Жыл бұрын
This practical example really helped! Great video, thank you :)
@frederickfreund1957
@frederickfreund1957 Жыл бұрын
Really good informative video. Thank you!
@vasilevsanyok
@vasilevsanyok 2 жыл бұрын
Short and sweet :) waiting for more new videos! thanks
@4HandsGames
@4HandsGames 2 жыл бұрын
Very well explained with easy to understand examples!
@gerardcuello4576
@gerardcuello4576 2 жыл бұрын
Really nice video! Clear abd simple yet powerful!
@hergggoor
@hergggoor 2 жыл бұрын
Great work with this video! Simple and easy to understand
@CallousCoder
@CallousCoder 2 жыл бұрын
Oh man, I’ve been teaching this for ages! And it seems that the younger the developers become the less they know and understand the use of software architecture. Your examples here were well chosen; simple quick and understandable. I think I will use the logging example from now on too. It’s easy to relate too. There’s a saying: “any problem in CS can be somber by an extra layer of abstraction”. And that’s true, but it’s walking a fine line with over abstraction and under abstraction. I try to teach developers, to initially don’t worry too much with abstraction unless it’s obvious (like logging, configuration and M/V/C etc). But as soon as you see you start to duplicate, take the time then and there to refactor. Because now it’s still easy and has little impact. But it just doesn’t sink in to the minds of the 25/35 year olds in most cases. They haven’t developed on low level languages (assembly and C) where this sort of duplication makes it impossible to maintain.
@0ptixs
@0ptixs 2 жыл бұрын
Man I just started trying to make games/learn to code (I know it's a trope at this point) but wow I have a long ways to go to understand all of what you wrote, excited for the journey though
@dinkle9664
@dinkle9664 2 жыл бұрын
I think that programming used to be a passion and is now just another career path. Some people want to just "get the job done."
@CallousCoder
@CallousCoder 2 жыл бұрын
@@dinkle9664 I think you may have a good point here. All those channels that “help” people land their 6 figure salary. So it’s probably more about the salary and the job than actually being an engineer and loving the job. I think you may be right!
@jeffwang2216
@jeffwang2216 9 ай бұрын
這麽棒的影片我居然才看到……非常有用的思路。Thank you for sharing
@strawhenge5007
@strawhenge5007 2 жыл бұрын
Good video. You aren't done when your code works, you are done when your code is right.
@ragerungames
@ragerungames 2 жыл бұрын
Good to see video featuring Tarodev!!!
@hamzzashaffi
@hamzzashaffi 2 жыл бұрын
Solid explanation! :)
@grazeen
@grazeen 2 жыл бұрын
You are making great videos please make more! With every video i see problems differently and think the future in mind.
@BatonyRobson
@BatonyRobson Жыл бұрын
Very important video and perfect example👍
@rotub
@rotub 2 жыл бұрын
Great explanations! Thanks
@keelanbowker-obrien2222
@keelanbowker-obrien2222 2 жыл бұрын
This was so helpful for me, thank you so much.
@sharkle9
@sharkle9 5 ай бұрын
Great example thanks!
@toastyshrimp1882
@toastyshrimp1882 8 ай бұрын
I've watched this video 3 different times, each time coming back to this more senior and able to understand more. I remember somehow watching this and feeling overwhelmed at how "complicated" this was, and I feel good knowing how much I've grown as a developer that this video seems basically like common sense now.
@KHam56
@KHam56 2 жыл бұрын
great presentation!
@phontum
@phontum 2 жыл бұрын
Thank you, Jason! Great video
@hotroddd1
@hotroddd1 2 жыл бұрын
This is a great simple video on how to take the "white paper" ideas and turn them into real world examples. Thank you.
@omle8492
@omle8492 Жыл бұрын
Great video man
@nmania5611
@nmania5611 Жыл бұрын
Nice video, I want more 👀
@albertmontagutcasero2129
@albertmontagutcasero2129 2 жыл бұрын
Awesome Jason, thank you for this kind of videos. You are so unique. Also, to point something about Single Responsibility Principle, Robert Martin also says -A module should be responsible to one, and only one, actor-. So, if some behavior of your application is used by two different actors, you should keep it separate to avoid defects. Your example is perfect, I would love more examples using different point of views.
@VitegO4
@VitegO4 2 жыл бұрын
Oh, this is a brilliant level of content! And my words are not just for being loud. As experienced in web, i've been looking for videos that would help me to switch into gamedev. Well, I found that in terms of basic principles and architecture the most of videos are weak. But, in opposite, this video is completely coherence with fundamentals that I rely on. At first - no afraid of "additional code and abstractions". At second, it says about code for game not talking about game itself, but exactly about architecture. So, I'm excited to keep watching the channel!
@gokturktas6518
@gokturktas6518 2 жыл бұрын
Great content!
@Kapendev
@Kapendev 2 жыл бұрын
Great video and your intro is really good. I might copy the "Focus on the design." bit for my videos lol.
@Ironlionm4n
@Ironlionm4n 2 жыл бұрын
Amazing video thank you for uploading
@synchaoz
@synchaoz 2 жыл бұрын
Well very done video, both in terms of content and presentation. Thanks for sharing and putting in the effort. And tegridy. Thanks for not forgetting the tegridy.
@MohammadFaizanKhanJ
@MohammadFaizanKhanJ Жыл бұрын
This video pops in my recommendation and I watched it the second time completely. Good work Jason! SOLID death seems very funny to me. even the S of the SOLID has much impact on the overall of your coding architecture decsion.
@marche4ever
@marche4ever 2 жыл бұрын
i'm intrigued by the way you structure your scene, it would be interesting to see a video on how you set it up and the reasons behind it.
@martinvanstein.youtube
@martinvanstein.youtube 10 ай бұрын
Great video !!!
@shayshay8295
@shayshay8295 11 ай бұрын
Loved it!
@Betruet
@Betruet 2 жыл бұрын
My guy TaroDev! Great content thanks!
@dann5295
@dann5295 2 жыл бұрын
Memes and edits are kinda distracting, to be honest. But your videos are always very informative! ty
@GiPa98
@GiPa98 4 ай бұрын
really interesting! Thanks!
@christinaVennegerts
@christinaVennegerts 2 жыл бұрын
This is a great Video and thank you so much for explaining the topic. I'll have to keep this in mind going forward. But your logger made me curious, too - I'll give that a try, too :)
@_stephenhubbard
@_stephenhubbard Жыл бұрын
sheesh how am I just discovering this channel?! Dat quality
@joeknap10
@joeknap10 Жыл бұрын
Good video well explained and concise :)
@shac00l98
@shac00l98 2 жыл бұрын
Thanks man. Right at point.
@modelworkzseo
@modelworkzseo 2 жыл бұрын
Jason, you are absolutely brilliant. PLEASE consider making long form refactoring videos like you used to at Infallible Code; your insights are so helpful.
@migueldc6845
@migueldc6845 Жыл бұрын
The skype call was *genius!* Would love to see more people be brave and craft some unusual audio design! Thank you :)
@FullMe7alJacke7
@FullMe7alJacke7 Жыл бұрын
Well said, keep it up!
@treppas
@treppas 2 жыл бұрын
Well explained man!
@nasrodev2087
@nasrodev2087 Жыл бұрын
i had a big brain Unlocking process while watching this video Really made me rethink how to handle things entirely not just Debuggin thankss a lot
@MatteoBenaissa
@MatteoBenaissa 2 жыл бұрын
really cool vidéo !
@ZloyDinozavrik
@ZloyDinozavrik 2 жыл бұрын
I love you Jason!
@trickstapriestxm
@trickstapriestxm 2 жыл бұрын
Been wanting software architecture/organization in a unity context for years!
@MichalMarcinkowski
@MichalMarcinkowski 2 жыл бұрын
Great video . Subscribed
@KommissarKong
@KommissarKong 2 жыл бұрын
Nice. I actually learned something
Why is unity so slow!
5:53
Jason Storey
Рет қаралды 67 М.
A BETTER way to setup new unity projects!
15:44
Jason Storey
Рет қаралды 54 М.
ИРИНА КАЙРАТОВНА - АЙДАХАР (БЕКА) [MV]
02:51
ГОСТ ENTERTAINMENT
Рет қаралды 12 МЛН
ОСКАР ИСПОРТИЛ ДЖОНИ ЖИЗНЬ 😢 @lenta_com
01:01
I CAN’T BELIEVE I LOST 😱
00:46
Topper Guild
Рет қаралды 98 МЛН
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 170 #shorts
00:27
20 Advanced Coding Tips For Big Unity Projects
22:23
Tesseract
Рет қаралды 162 М.
The 6 Design Patterns game devs need?
24:20
Jason Weimann
Рет қаралды 362 М.
Improve Your Unity Code with MVC/MVP Architectural Patterns
15:32
11 Things You (Probably) Didn't Know You Could Do In Unity
13:49
Game Dev Guide
Рет қаралды 149 М.
How Agile failed software developers and why SCRUM is a bad idea
11:29
Abstraction Can Make Your Code Worse
5:13
CodeAesthetic
Рет қаралды 622 М.
The Power of Scriptable Objects as Middle-Men
17:41
samyam
Рет қаралды 119 М.
Building Runtime UI with UI Toolkit In Unity
21:35
Game Dev Guide
Рет қаралды 31 М.
Choose a car for Mom ♥️ #shorts #trending #viral #cars
0:17
ОН МСТИТ ПРОДАВЦУ МОРОЖЕНОГО
0:32
Почему НИКА решила уехать из дома?
0:46
Привет, Я Ника!
Рет қаралды 1,4 МЛН
iPhone 16 с инновационным аккумулятором
0:45
ÉЖИ АКСЁНОВ
Рет қаралды 6 МЛН
P7 Amazing Gadgets, Kitchen Utensils, Home cleaning, Inventions, Ideas part 4
0:10