Software Architecture in Unity

Поделиться
HTML-код
  • Опубликовано: 25 дек 2024

Комментарии •

  • @Tarodev
    @Tarodev 2 года назад +411

    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 года назад +8

      Not to mention a powerful cameo

    • @kingbling7571
      @kingbling7571 2 года назад +2

      Solid I see whtchy did there

    • @waltermunozguaman7591
      @waltermunozguaman7591 2 года назад +1

      I have the same opinion, awesome video!

  • @Unity3dCollege
    @Unity3dCollege 2 года назад +270

    Awesome video

    • @SojoTaku
      @SojoTaku 2 года назад +10

      Sir, why aren't you verified?

    • @Hazzel31337
      @Hazzel31337 2 года назад +1

      i am so glad you made him make a channel, such a good video

    • @accountdua9375
      @accountdua9375 2 года назад

      Love you man...

    • @Ahatcho21
      @Ahatcho21 Год назад

      I Hope you learnt something.

    • @abdullah4653
      @abdullah4653 10 месяцев назад

      another amazing master is here@@Ahatcho21

  • @iHeartGameDev
    @iHeartGameDev 2 года назад +93

    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 года назад +13

    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 RUclips 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 года назад +102

    Okay, we get it... you're good at what we need to get better at.
    More videos, thanks!

  • @turkeyjerkey
    @turkeyjerkey 2 года назад +117

    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 2 года назад +10

      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 10 месяцев назад +1

      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 10 месяцев назад +1

      @@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.

  • @toastyshrimp1882
    @toastyshrimp1882 Год назад +3

    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.

  • @strawhenge5007
    @strawhenge5007 2 года назад +2

    Good video.
    You aren't done when your code works, you are done when your code is right.

  • @dawidblum8461
    @dawidblum8461 2 года назад +31

    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!

  • @Bardent
    @Bardent 2 года назад +1

    Don't focus on the lines of code, focus on the decision making behind it. Love it!

  • @okanerkan1873
    @okanerkan1873 2 года назад +7

    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.

  • @Tvtig
    @Tvtig 2 года назад +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.

  • @kevonboxill9455
    @kevonboxill9455 8 месяцев назад +1

    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!

  • @pixeldevlog
    @pixeldevlog 2 года назад +1

    This is one of the most useful videos on the internet. Following exactly this solves soo many problems.

  • @CallousCoder
    @CallousCoder 2 года назад +19

    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 года назад +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 года назад +3

      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 года назад +1

      @@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!

  • @beatenbykarma
    @beatenbykarma 2 месяца назад

    Excellent video, love the way you demonstrated how change happens on projects

  • @acryinshame
    @acryinshame Год назад

    thank you, i have struggled understanding the 'why' behind it and you described it easily in 7 mins.

  • @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.

  • @goehlergamedev
    @goehlergamedev 2 года назад +1

    Hey Jason. I just want to really thank you for pointing me towards Uncle Bob. I've now been listening to him for 8 hours - and the stuff he preaches is SO important and valuable. This will change my way of coding for ever! Thank you. :)

  • @joshreylearning8253
    @joshreylearning8253 Год назад

    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!

  • @dann5295
    @dann5295 2 года назад +6

    Memes and edits are kinda distracting, to be honest.
    But your videos are always very informative! ty

  • @wvaviator3408
    @wvaviator3408 2 года назад +2

    Excellent advice and example

  • @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.

  • @DoomCatcher
    @DoomCatcher 2 года назад +10

    Really useful video I just wish it was longer with even more examples, please make more videos expanding on this topic.

  • @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

  • @Nihilp
    @Nihilp Год назад

    precious stuff here! mindchanging ! i'm rewriting all my code with this philosophy and i'm happy with it! thx!!!!

  • @CornCamp
    @CornCamp 2 года назад +1

    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!

  • @kayumiy
    @kayumiy 8 месяцев назад

    It is absolutely phenomenal explanation of SOLID and Software Architecture. You did well. Thank you.

  • @rashidfarhan6223
    @rashidfarhan6223 2 года назад

    Brooo all of my favorite unity content creators are here in the comments. This is some next level stuff here.

  • @saltyspacenerd5581
    @saltyspacenerd5581 2 года назад +1

    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!

  • @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!

  • @Korgolord
    @Korgolord Год назад

    Okay, we get it... you're good at what we need to get better at.

  • @OldM8
    @OldM8 2 года назад

    I am a completed noob with C# and playing with Unity and this made awesome perfect sense !
    I think I need to read a few more books on fundamental principles like this video explained :) thank you my dude.

  • @trickstapriestxm
    @trickstapriestxm 2 года назад

    Been wanting software architecture/organization in a unity context for years!

  • @Passenger-vf8pp
    @Passenger-vf8pp Год назад

    Thanks for the video! I have been working quite a while on improving the workflow of code development and teamwork. This video definitely helps!

  • @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.

  • @jirushi3028
    @jirushi3028 2 года назад

    It's getting better and better

  • @BallisticLife
    @BallisticLife 2 года назад

    This is a very well crafted video!! Perfect example, and the concepts are explained very clearly. Something this video highlights, without acknowledging it, is that the architecture of a project has to change and be redefined as the needs of the project change.
    Deciding which aspects of your code are changeable involves anticipating future design changes, which can be a tricky and sometimes harmful task. By its nature, writing code is the act of creating explicit structure that limits changes in some areas and allows it in others. As such, it's counterproductive to set out creating a program that will be changeable in every area.
    Of course this isnt to say you shouldn't anticipate future changes. Just that it's important to make sure you're doing so intentionally. There isn't a one size fits all "best way to start a unity coding project so that you wont have to do lots of refactoring in the future". Internalizing that took me a while when I started out.

    • @BallisticLife
      @BallisticLife 2 года назад

      To be clear, I don't expect this stuff to be discussed in this video. This is out of scope for the target audience and length of the video.

  • @philberex
    @philberex Год назад

    Damn glad i found this video in the RUclips archives.

  • @MTweedC4
    @MTweedC4 Год назад

    The skype call was *genius!* Would love to see more people be brave and craft some unusual audio design! Thank you :)

  • @alaslipknot
    @alaslipknot 2 года назад +7

    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 ?

  • @gmunay420
    @gmunay420 2 года назад +1

    i want to say something nice but im terrible with words, I really like this.

  • @kevinrobertandrews
    @kevinrobertandrews 2 года назад

    I appreciate how thoughtfully worded you made this tutorial. Thanks for sharing!

  • @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!

  • @jtmcfarland3512
    @jtmcfarland3512 11 месяцев назад

    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.

  • @_stephenhubbard
    @_stephenhubbard Год назад

    sheesh how am I just discovering this channel?! Dat quality

  • @GlennThomasJr
    @GlennThomasJr Год назад

    Your page is amazing! I scour for these higher level thinking concepts!

  • @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.

  • @hernandonj
    @hernandonj 2 года назад

    Clarification absolutely needed. Thank you so much.

  • @redenvalerio601
    @redenvalerio601 2 года назад

    Please continue this kind of contents!! I love it! Thank you!

  • @henryh7140
    @henryh7140 2 года назад

    This practical example really helped! Great video, thank you :)

  • @KDSBestGameDev
    @KDSBestGameDev 2 года назад

    You got a great point with change. The solid principles for example also make it possible to unit test your code and also make bug searching less painful. If you have certain classes with specific responsibilities than searching a bug is way easier. More important if there is a slight risk that you created a bug and another team member has to fix it (vacation whatever). With e.g. single responsibility in place, the new team member should be able to narrow the possible buggy classes down significantly.
    TL;DR Great Video Ty!

  • @anton.m.korshunov
    @anton.m.korshunov 2 года назад

    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.

  • @teknofis2604
    @teknofis2604 2 года назад

    Your videos are just .. Wow! Pls keep'em coming

  • @willnmari5998
    @willnmari5998 2 года назад

    wow that was eye opening! especially the Log() method - thanks!

  • @jeffwang2216
    @jeffwang2216 Год назад

    這麽棒的影片我居然才看到……非常有用的思路。Thank you for sharing

  • @chrisrabe
    @chrisrabe 2 года назад +2

    Great video. SOLID is definitely a great principle to follow when developing code (at least just the first two, the last three are more catered towards object oriented style languages with the use of interfaces and abstractions).

    • @Belliger1991
      @Belliger1991 2 года назад

      You forgot that functional programming basicly starts at the "open for extension, closed for modification" philosophie ^^
      So basicly (if you ignore the three basic rules in the video) all you do is simple basic scripting but not realy programming (as in you think of the future change consequences) ;)

    • @chrisrabe
      @chrisrabe 2 года назад

      He only mentioned the first two principles in the video though?

  • @roydrinkwater
    @roydrinkwater 2 года назад

    I need more videos like this one. Very effective examples and to the point!

  • @nanaschi
    @nanaschi Год назад

    Agree with everything except Logger being monobehavior. Good stuff 👍

  • @AlexBlackfrost
    @AlexBlackfrost 2 года назад +7

    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.

  • @aktchungrabanio6467
    @aktchungrabanio6467 Год назад

    Absolutely beautiful solutions Jason. Thank you for these tips. You are a gem

  • @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.

  • @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.

  • @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?

  • @albertmontagutcasero2129
    @albertmontagutcasero2129 2 года назад +1

    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.

  • @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.

  • @wilmirosa7076
    @wilmirosa7076 2 года назад

    Your content is fantastic because is clear and concise. Glad to be your follower Jason,

  • @SoaringSimulator
    @SoaringSimulator Год назад

    Thx 4 your time, bro. Awesome explanation. As Jason pointed out, do not look at the code. In particular, if you try to extend with a function that triggers Debug.Log, when there is a message in the console and double-click it, it will not take you to the message but to the function. So it is not helpful, and there isn't a way around that. We love your channel!

  • @fulongfromthegrave
    @fulongfromthegrave 2 года назад

    I felt like all that needed to be said!
    Looking forward to the next one :)

  • @nickygdev
    @nickygdev 2 года назад

    Incredibly informative as always

  • @ragerungames
    @ragerungames 2 года назад

    Good to see video featuring Tarodev!!!

  • @marche4ever
    @marche4ever 2 года назад +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.

  • @KjipGamer
    @KjipGamer 2 года назад

    Amazing video. One thing to note whilst doing this : You can *easily* go to far in this.

  • @ryanlaseter7626
    @ryanlaseter7626 2 года назад

    1000% the first point. When trying to discuss architecture with someone and they ask 'why do I need to change it if it works' they're totally missing the point xD it's not about it working or not, it's about designing it in a way that's more scaleable, reads better to the human eye, shareable, etc.

  • @vasilevsanyok
    @vasilevsanyok 2 года назад

    Short and sweet :) waiting for more new videos! thanks

  • @jordanfischer3693
    @jordanfischer3693 2 года назад

    Great video, love how you use simple understandable examples.

  • @arixfurette7310
    @arixfurette7310 2 года назад

    I don't really understand code but I understood the video, very good video thanks!

  • @cathychoi6959
    @cathychoi6959 Год назад

    Thanks for your honest review not like others trying make my life more diffuuucxxlt !

  • @Juanborgesv-
    @Juanborgesv- 2 года назад

    Great video Jason! Can't wait to see more 👏

  • @asliniarayanadam
    @asliniarayanadam 2 года назад

    Great content man, your points made me better in such a short time.

  • @maple7rees-352
    @maple7rees-352 Год назад

    Subbed. Thank you for being so insightful and straightforward.

  • @waltermunozguaman7591
    @waltermunozguaman7591 2 года назад

    Awesome video!, so much quality

  • @gliasmarinho
    @gliasmarinho 17 дней назад

    Thanks for the video, very supportive!

  • @omnicatalyst
    @omnicatalyst 2 года назад

    This was a fantastic explanation

  • @GordonArber
    @GordonArber 2 года назад

    I love the editing in this one Jason! Well produced! Also awesome content!

  • @agent-33
    @agent-33 2 года назад

    I'm glad search & replace text exist.

  • @veganmonter
    @veganmonter 2 года назад

    Commenting for the al-go-rhythms. Liking the haircut!

  • @larryd9577
    @larryd9577 Год назад

    A proper logger can adjust its loglevel. So if you added a lot of debug logs, you can set it to a higher level (e.g. info) then it will not write debug logs. But info, warn or error logs

  • @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.

  • @Betruet
    @Betruet 2 года назад

    My guy TaroDev! Great content thanks!

  • @hergggoor
    @hergggoor 2 года назад

    Great work with this video! Simple and easy to understand

  • @PitiITNet
    @PitiITNet 2 года назад +2

    Fantastic video! I believe people talk about death of SOLID or many other architecture/good code related subjects because we are facing massive decrease in quality of developers on the market. Programming is very lucrative job and unfortunately that means it attracts a lot of people that do not want to become better, don't want to learn good coding practices, design patterns, principles and so on. I love the video you created because it proves, in simple, well understandable matter, that those things are important and we cannot just do not care about them. I mean we can... but it all comes at a price.

  • @TheKr0ckeR
    @TheKr0ckeR Год назад

    I feel like i found a legendary item that i want for years while watching this video.

  • @grazeen
    @grazeen 2 года назад

    You are making great videos please make more! With every video i see problems differently and think the future in mind.

  • @bednyakovv
    @bednyakovv 2 года назад

    Amazing editing and content. Thanks a lot, Jason!

  • @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.

  • @BatonyRobson
    @BatonyRobson Год назад

    Very important video and perfect example👍

  • @frederickfreund1957
    @frederickfreund1957 2 года назад

    Really good informative video. Thank you!

  • @keelanbowker-obrien2222
    @keelanbowker-obrien2222 2 года назад

    This was so helpful for me, thank you so much.