Тёмный

Software Architecture in Unity 

Jason Storey
Подписаться 13 тыс.
Просмотров 113 тыс.
50% 1

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

Хобби

Опубликовано:

 

28 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 316   
@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 4 месяца назад
another amazing master is here@@ahatcho138
@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!
@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
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 4 месяца назад
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.
@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 ✨
@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 RU-vid 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
@BigRookDigital
@BigRookDigital 2 года назад
Okay, we get it... you're good at what we need to get better at. More videos, thanks!
@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!
@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.
@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!
@GordonArber
@GordonArber 2 года назад
I love the editing in this one Jason! Well produced! Also awesome content!
@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.
@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!
@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 ?
@kevinrobertandrews
@kevinrobertandrews 2 года назад
I appreciate how thoughtfully worded you made this tutorial. Thanks for sharing!
@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!
@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.
@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.
@kanz0bgz
@kanz0bgz 2 года назад
Great stuff, really loving these videos. Looking forward to the next one.
@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!
@wilmirosa7076
@wilmirosa7076 2 года назад
Your content is fantastic because is clear and concise. Glad to be your follower Jason,
@jordanfischer3693
@jordanfischer3693 2 года назад
Great video, love how you use simple understandable examples.
@roydrinkwater
@roydrinkwater 2 года назад
I need more videos like this one. Very effective examples and to the point!
@dann5295
@dann5295 2 года назад
Memes and edits are kinda distracting, to be honest. But your videos are always very informative! ty
@strawhenge5007
@strawhenge5007 2 года назад
Good video. You aren't done when your code works, you are done when your code is right.
@maweill
@maweill 2 года назад
Amazing editing and content. Thanks a lot, Jason!
@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.
@Bardent
@Bardent 2 года назад
Don't focus on the lines of code, focus on the decision making behind it. Love it!
@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!
@DoomCatcher
@DoomCatcher 2 года назад
Really useful video I just wish it was longer with even more examples, please make more videos expanding on this topic.
@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!
@Juanborgesv-
@Juanborgesv- 2 года назад
Great video Jason! Can't wait to see more 👏
@fulongfromthegrave
@fulongfromthegrave 2 года назад
I felt like all that needed to be said! Looking forward to the next one :)
@kayumiy
@kayumiy 2 месяца назад
It is absolutely phenomenal explanation of SOLID and Software Architecture. You did well. Thank you.
@redenvalerio601
@redenvalerio601 2 года назад
Please continue this kind of contents!! I love it! Thank you!
@GlennThomasJr
@GlennThomasJr 11 месяцев назад
Your page is amazing! I scour for these higher level thinking concepts!
@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?
@aktchungrabanio6467
@aktchungrabanio6467 Год назад
Absolutely beautiful solutions Jason. Thank you for these tips. You are a gem
@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.
@henryh7140
@henryh7140 Год назад
This practical example really helped! Great video, thank you :)
@teknofis2604
@teknofis2604 2 года назад
Your videos are just .. Wow! Pls keep'em coming
@maple7rees-352
@maple7rees-352 9 месяцев назад
Subbed. Thank you for being so insightful and straightforward.
@asliniarayanadam
@asliniarayanadam 2 года назад
Great content man, your points made me better in such a short time.
@nickygdev
@nickygdev 2 года назад
Incredibly informative as always
@hernandonj
@hernandonj 2 года назад
Clarification absolutely needed. Thank you so much.
@willnmari5998
@willnmari5998 2 года назад
wow that was eye opening! especially the Log() method - thanks!
@waltermunozguaman7591
@waltermunozguaman7591 2 года назад
Awesome video!, so much quality
@hergggoor
@hergggoor 2 года назад
Great work with this video! Simple and easy to understand
@4HandsGames
@4HandsGames 2 года назад
Very well explained with easy to understand examples!
@gerardcuello4576
@gerardcuello4576 2 года назад
Really nice video! Clear abd simple yet powerful!
@Nihilp
@Nihilp Год назад
precious stuff here! mindchanging ! i'm rewriting all my code with this philosophy and i'm happy with it! thx!!!!
@wvaviator3408
@wvaviator3408 2 года назад
Excellent advice and example
@vasilevsanyok
@vasilevsanyok 2 года назад
Short and sweet :) waiting for more new videos! thanks
@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.
@frederickfreund1957
@frederickfreund1957 Год назад
Really good informative video. Thank you!
@acryinshame
@acryinshame Год назад
thank you, i have struggled understanding the 'why' behind it and you described it easily in 7 mins.
@grazeen
@grazeen 2 года назад
You are making great videos please make more! With every video i see problems differently and think the future in mind.
@omnicatalyst
@omnicatalyst 2 года назад
This was a fantastic explanation
@mrstruijk
@mrstruijk Год назад
Excellent information man!
@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!
@jirushi3028
@jirushi3028 2 года назад
It's getting better and better
@keelanbowker-obrien2222
@keelanbowker-obrien2222 2 года назад
This was so helpful for me, thank you so much.
@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.
@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 :)
@jtmcfarland3512
@jtmcfarland3512 5 месяцев назад
Great video, but I with it was longer. There are tons of resources for how to do single things in Unity with C#, but I’m struggling to understand how and when to implement them. Nobody seems to ever start the video explaining WHY you would do a certain thing. This discussion on architecture was a great start. I’d love to see the architecture of a developed game. What’s in their hierarchy? How are their files organized? How often and when are different principals used (state machines, statics and singletons, event systems, and other patterns). Great work. Keep it up.
@phontum
@phontum 2 года назад
Thank you, Jason! Great video
@BatonyRobson
@BatonyRobson Год назад
Very important video and perfect example👍
@Kapendev
@Kapendev 2 года назад
Great video and your intro is really good. I might copy the "Focus on the design." bit for my videos lol.
@hamzzashaffi
@hamzzashaffi 2 года назад
Solid explanation! :)
@Ironlionm4n
@Ironlionm4n 2 года назад
Amazing video thank you for uploading
@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.
@rotub
@rotub 2 года назад
Great explanations! Thanks
@KHam56
@KHam56 2 года назад
great presentation!
@jeffwang2216
@jeffwang2216 9 месяцев назад
這麽棒的影片我居然才看到……非常有用的思路。Thank you for sharing
@omle8492
@omle8492 Год назад
Great video man
@_stephenhubbard
@_stephenhubbard Год назад
sheesh how am I just discovering this channel?! Dat quality
@nmania5611
@nmania5611 Год назад
Nice video, I want more 👀
@joeknap10
@joeknap10 11 месяцев назад
Good video well explained and concise :)
@Betruet
@Betruet 2 года назад
My guy TaroDev! Great content thanks!
@ragerungames
@ragerungames 2 года назад
Good to see video featuring Tarodev!!!
@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.
@gokturktas6518
@gokturktas6518 2 года назад
Great content!
@sharkle9
@sharkle9 5 месяцев назад
Great example thanks!
@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.
@philberex
@philberex Год назад
Damn glad i found this video in the RU-vid archives.
@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
@martinvanstein.youtube
@martinvanstein.youtube 9 месяцев назад
Great video !!!
@GiPa98
@GiPa98 4 месяца назад
really interesting! Thanks!
@treppas
@treppas 2 года назад
Well explained man!
@shac00l98
@shac00l98 2 года назад
Thanks man. Right at point.
@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.
@antonkorshunov4979
@antonkorshunov4979 Год назад
SuperObjectiveLookInside(the)Development. Let me throw a bunch of flowers onto the starship board where you stand to deliver us such practical and entertaining content.
@erz3030
@erz3030 2 года назад
Yay Jason is making videos now! woooooooo! subbed :D
@migueldc6845
@migueldc6845 Год назад
The skype call was *genius!* Would love to see more people be brave and craft some unusual audio design! Thank you :)
@toastyshrimp1882
@toastyshrimp1882 7 месяцев назад
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.
@shayshay8295
@shayshay8295 11 месяцев назад
Loved it!
@MichalMarcinkowski
@MichalMarcinkowski 2 года назад
Great video . Subscribed
@Gastrostomi
@Gastrostomi Год назад
Was actually looking for some interesting videos about Addressables, but the title was teasing be about other interesting topics I have thought about before. So I think I will stick around for a while.
Далее
Why is unity so slow!
5:53
Просмотров 67 тыс.
КУДА БОЛЬНЕЕ УПАСТЬ С ВЫСОТЫ?
25:11
Stray Kids <ATE> UNVEIL : TRACK "MOUNTAINS"
00:59
The Flaws of Inheritance
10:01
Просмотров 904 тыс.
A BETTER way to setup new unity projects!
15:44
Просмотров 54 тыс.
20 Advanced Coding Tips For Big Unity Projects
22:23
Просмотров 161 тыс.
Unity Arrays? Don't Do this!
4:14
Просмотров 31 тыс.
How to find any resource you are looking for!
12:39
Просмотров 20 тыс.
Feature Flags are more than just Toggles
9:12
Просмотров 10 тыс.
Watch This Before Working on a Big Game in Unity
18:44
Просмотров 291 тыс.
making a knife from an old file
0:58
Просмотров 10 млн
ОЧЕНЬ ВКУСНЫЙ БУТЕРБРОД 🍞
0:49
ОЧЕНЬ ВКУСНЫЙ БУТЕРБРОД 🍞
0:49