Assembly Definitions in Unity

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ก.ย. 2024

ความคิดเห็น • 216

  • @chrisc7265
    @chrisc7265 4 ปีที่แล้ว +410

    I don't even use Unity, I just like hearing this guy be nice to himself

    • @xskybirdx
      @xskybirdx 2 ปีที่แล้ว +20

      yeah seriously! it's a bizarre format and I love it

    • @0xF81
      @0xF81 ปีที่แล้ว +1

      Lmao

  • @benjamingerd4703
    @benjamingerd4703 3 ปีที่แล้ว +26

    Thank you kindly! This has helped me reduce my game's compile time from "This takes so long, I don't enjoy working on this game anymore" back to "This is so much fun again, just like back in the old days when my project used to be small".

  • @keyay1239
    @keyay1239 4 ปีที่แล้ว +37

    Oh man, this format really skyrockets the entertainment of your video. While it is still a tutorial, it doesn't bore me at all, maybe actually the opposite.
    Really a genius idea to keep the viewer attracted.

  • @TheLazyEngineer
    @TheLazyEngineer 4 ปีที่แล้ว +39

    we're lucky that Charles is so nice and didnt just say "ok" at 0:23 causing the vid to end!

  • @In-N-Out333
    @In-N-Out333 4 ปีที่แล้ว +253

    Another episode of 'The Schizophrenic Programmer'.

    • @InfallibleCode
      @InfallibleCode  4 ปีที่แล้ว +30

      🤪

    • @RyRyQTPi
      @RyRyQTPi 4 ปีที่แล้ว +7

      I loved this video. Short and informative. Also very entertaining to watch haha 😅👌

    • @peterhayman
      @peterhayman 3 ปีที่แล้ว +12

      Me: Yea should I be worried if I start talking to myself like this?
      Other Me: Not at all! The technique of projecting inner monologues onto dialogues between 'make-believe' characters is ancient and used by the likes of Plato in his dialectics.

  • @lobsangwhite
    @lobsangwhite 3 ปีที่แล้ว +20

    This is my style of programtion, first I talk to myself helping me to answer all my questions and keep me in company all the process... later we both start crying about all that messy code and our loneliness. It's beautiful.
    Btw, I love this tutorial ❤

    • @lobsangwhite
      @lobsangwhite 3 ปีที่แล้ว

      I was thinking, what about this third-party code? I mean, I use a lot Leantween but if I put my UI scripts into an assembly leantween stay into the default assembly and it's not possible to make a dependency. Or am I wrong?

  • @fawazaljohani8447
    @fawazaljohani8447 4 ปีที่แล้ว +46

    Dude, this is hands down one the best tutorial videos out there, not just about the subject, the way you present and explain the tutorial is super creative and even though I just watched the video cuz i saw it in the subscription tab and wasn't really interested in the subject, I completed the whole thing, RING BILL IS ON FROM NOW ON

    • @m4xxxxxxxx-d7i
      @m4xxxxxxxx-d7i 2 ปีที่แล้ว

      It does not make one feel sleepy.

  • @samwholearns3023
    @samwholearns3023 2 ปีที่แล้ว +6

    You and the 2 Jsons are fucking amazing. I have gone from zero to hero in around 4 months with 3 projects due to the content each of you puts out regarding code, architecture and best practices. Man I can't believe how far I have come this fast.
    Still a beginner but I am now helping other beginners and I can see that I am dipping my toes regularly into the intermediate waters. The Journey amazing. Sometimes I get goosebumps when I am coding and I realize I did something organically that I saw when I was brand new and had no idea what was going on.

  • @fulongfromthegrave
    @fulongfromthegrave 4 ปีที่แล้ว +24

    I think the vids fill two puposes: teach you awesome code, while serving as PSAs on how to treat colleagues at the office (how to ask for/offer help to a colleague). xD

  • @hanzhang4592
    @hanzhang4592 3 ปีที่แล้ว +12

    This form of explanation is so cool, I am feeling like you ask every question that I care about!!!

  • @betterlifeexe4378
    @betterlifeexe4378 3 ปีที่แล้ว +3

    I literally just pulled up that page in the beginning and said in my head, "this is confusing" , then went on youtube and searched assemblies in unity and got this video.

    • @InfallibleCode
      @InfallibleCode  3 ปีที่แล้ว

      Did the video clear up your confusion?

    • @betterlifeexe4378
      @betterlifeexe4378 3 ปีที่แล้ว

      ​@@InfallibleCode yep, what I really wanted to know is what the default assembly Included and you pointed it out in the solution explorer. I wanted to know because internal is scoped to the assembly, and in order to use it intelligently, I had to know what that scope included.
      Would I be right in guessing that internal is fairly secure so long as your app isn't exposed directly to something like code injection? Does it protect against window hooks? I still have security questions.

  • @marche4ever
    @marche4ever 3 ปีที่แล้ว +9

    I would love to see a video on how to design good assembly definitions for games. This is one of those things where I know what it is, what it's used for, but not sure how to utilize it properly in a real-world setting.

    • @LautaroArino
      @LautaroArino 2 ปีที่แล้ว +3

      I know this is old but here is something i learned. One of the reasons this method is helpful is when you realise you need to sit down and thing about what your project needs and how you would structure the different subsystems. If you cant figure it out maybe you just need to try and then learn from mistakes? After a few projects you will have a clear feeling about how you wished you would have done from the beginning. So think about these techniques but dont let it keep you from progressing as a game coder! ITs possible to stay in the system design phase for ever and thats not productive either.

  • @rxninja
    @rxninja ปีที่แล้ว

    I just want to say that this is the first tutorial I haven't watched on greater than 1.0x speed in a very, very long time. Everything was clear and concise. Thank you!

  • @di4352
    @di4352 ปีที่แล้ว

    What a satisfyingly casual and straight-forward conversation about code organization in Unity between two pleasant and completely unrelated individuals :D.

  • @danigarciafernandez8908
    @danigarciafernandez8908 3 ปีที่แล้ว +2

    Just found your channel while researching about Unity's assembly definitions. Quite an original and clear way to explain the topic. Great video!

  • @truthByFire
    @truthByFire 4 ปีที่แล้ว +13

    Love these tutorials - great style and easy to follow

  • @alexbrandt
    @alexbrandt 2 ปีที่แล้ว

    Man, this format is a great way to go through a topic like this. I work in simulation and have a ton of calls like this about complicated topics, but mine come with interruptions, dead ends that the person might not be knowledgeable about, and other tangents. This really takes a conversation like that and cuts out the useless info to deliver the information in a way that is conversational, easy to digest, and to apply to your work. Well-earned sub, awesome content.

  • @joaniepepin4968
    @joaniepepin4968 4 ปีที่แล้ว +75

    Man, you really are getting lonely during the lockdown, making Skype calls with yourself like that!

    • @jorhoto7064
      @jorhoto7064 4 ปีที่แล้ว +9

      They are twins :)

  • @AvoidingCrisis
    @AvoidingCrisis 4 ปีที่แล้ว +1

    Why is this format so soothing and entertaining?? Such an amazing idea

  • @NoStupidItsManbearpig
    @NoStupidItsManbearpig 7 หลายเดือนก่อน

    Great explanation thank you. And I liked your approach showing 2 sides to this conversation. When I was a Junior coder I found it intimidating to ask these sorts of questions but they are very important and just like in your video 9 times out of 10 the other person or code lead will take time out of their day for you. Iv worked in the games industry for 5 years now and only just discovered Assembly Definitions. Subbed to your channel :)

  • @MaxKearneyFilms
    @MaxKearneyFilms 3 ปีที่แล้ว +1

    this kind of format usually is pretty cringe but this was super helpful to understanding assembly definitions. The guy with the cap asks all the questions I would want to ask haha, thanks a bunch

  • @makra2077
    @makra2077 4 ปีที่แล้ว +9

    Always love your intuitive approach to making tutorials sir 🔥 I try making videos like you for my channel but eventually fail. Can you please give me some tips sir

    • @someoneontheinternet3090
      @someoneontheinternet3090 4 ปีที่แล้ว +1

      First figure out what you want to teach. Research it if need be. Write a script so that you know exactly what you are going to say. Try to imagine one character as a know nothing noob like myself and the other as the all knowing Guru. Have the guru explain and the know nothing ask questions that real noobs might ask.
      One place I don't feel this channel goes far enough is in trying to remember what it's like to not know the lingo or the process of making games or programs. But then, maybe it's not supposed to be for people who don't even know that much.
      For example, I now know how to make assemblies in Unity but I don't really know why. He says it's for organizing and optimization, and I get the optimization part because it will only recompile the assemblies that have changed saving time, but I'm not sure how it organizes anything.

    • @makra2077
      @makra2077 4 ปีที่แล้ว +1

      @@someoneontheinternet3090 thanks a lot sir! Will definitely try this

    • @someoneontheinternet3090
      @someoneontheinternet3090 4 ปีที่แล้ว

      @@makra2077 You're welcome! Good luck!

  • @auckzsv8599
    @auckzsv8599 4 ปีที่แล้ว

    You managed to create a simple and fun tutorials for subjects i never wanted to encounter. (mainly unit testing)
    Your videos have next level production value.
    you can easily become a top player in this platform.
    Thanks for the help!

  • @RicardoEP
    @RicardoEP 2 ปีที่แล้ว

    Had no idea what i was getting into listening to this converzation kinda tutorial. But damn I loved every bit of it.

  • @kirbymia6209
    @kirbymia6209 3 ปีที่แล้ว

    This guy's channel really shows how helpful programmers should be to each other.

  • @Pojath
    @Pojath ปีที่แล้ว

    This guy needs more subscribers. Thanks for explaining everything in an easy manner to understand!

  • @lemetamax
    @lemetamax 3 หลายเดือนก่อน

    This is really cool! I'll start using assemblies from now on.

  • @shubhamsati3145
    @shubhamsati3145 2 ปีที่แล้ว

    Man your way of teaching is refreshing. I really love it.

  • @maolin7552
    @maolin7552 ปีที่แล้ว

    Man you are really making GREAT tutorial video!!! THANK YOU.

  • @_GhostMiner
    @_GhostMiner 6 วันที่ผ่านมา

    Very interesting stuff. Surely will come in handy when making a project.

  • @omegaomega6838
    @omegaomega6838 ปีที่แล้ว

    I can tell you worked hard on this. Thanks, so much for this video. I actually learned about assemblies thanks to you. Keep it up.

  • @absolutedogy346
    @absolutedogy346 4 ปีที่แล้ว

    I am in love with your style of presenting, giving me so much inspiration to start a series like this myself to help pass on some of my knowledge! keep up the good work man

  • @TheIndieProject
    @TheIndieProject 2 ปีที่แล้ว

    Thank you for this awesome tutorial! Interesting, non standard topic and one of the best ways to teach it I‘ve ever saw. Thumbs up!

  • @adamodimattia
    @adamodimattia 4 ปีที่แล้ว +1

    Love your videos, also very nice is this format of dialog with yourself, cool.

  • @shieldgenerator7
    @shieldgenerator7 ปีที่แล้ว

    6:42 thanks! that was the missing piece that i needed

  • @moose43h
    @moose43h 3 ปีที่แล้ว

    bro this is relaxing af because its not robotic

  • @honeybee6978
    @honeybee6978 4 ปีที่แล้ว +1

    You look so natural with coding. Did you ever had a time where you also make beginner mistakes? (Like I do everyday)

  • @JoePShoulak
    @JoePShoulak 2 ปีที่แล้ว +1

    So if it's overkill to use an assembly in every name space, how do we differentiate between when we should and should not give a namespace its own assembly?

  • @isaacwolf4969
    @isaacwolf4969 2 ปีที่แล้ว +1

    These tutorials are awesome

  • @interstellar1798
    @interstellar1798 4 ปีที่แล้ว +1

    what an amazing style, thanks for the tutorials.

  • @Director414
    @Director414 2 หลายเดือนก่อน

    awesome tutorial but it would be nice with some more in depth info about potential problems and general workflow on how and when to use these. Many thanks for your great videos, you rock! :)

  • @IndritVaka
    @IndritVaka 2 ปีที่แล้ว

    Amazing tutorial, I love it Thanks!

  • @qzzf1w
    @qzzf1w 2 ปีที่แล้ว

    Very effective communication style

  • @castlecodersltd
    @castlecodersltd 3 หลายเดือนก่อน

    A great explanation. Thank you 🙂

  • @racrity
    @racrity 22 วันที่ผ่านมา

    Aweeeeeeeeesome video! Thanks a lot. Really funny to watch as well lol

  • @MohammadFaizanKhanJ
    @MohammadFaizanKhanJ 3 ปีที่แล้ว

    Thanks again to you both digital twins.

  • @lewaplay
    @lewaplay 2 ปีที่แล้ว

    Very delgant explanation, thanks :)

  • @daslolo
    @daslolo 4 ปีที่แล้ว +6

    "hey man, I heard you talked about fight club, not cool"

  • @Ivaseg
    @Ivaseg 2 ปีที่แล้ว

    Great tutorial! Thank you :)

  • @OiskiPoiskiDK
    @OiskiPoiskiDK 4 ปีที่แล้ว +2

    Hmm. Interresting video!
    Didn't know Unity had that feature.
    I've been working witj .DLL files for while, though 👍

  • @gamedev131
    @gamedev131 4 ปีที่แล้ว

    You deserve 100K subscribers! I am happy to discover this channel :)

  • @teh1archon
    @teh1archon 4 ปีที่แล้ว

    I really love these tutorials with crossovers with other developers. Even if the other developer is also you ;)

  • @aoiti
    @aoiti 2 ปีที่แล้ว

    So clear. Thank you

  • @АлексейНикитин-й1з
    @АлексейНикитин-й1з 4 ปีที่แล้ว +1

    Спасибо! Обожаю ваши видео!!!

  • @gamedev1905
    @gamedev1905 2 ปีที่แล้ว

    Aww hell yeah libraries in Unity!

  • @istanbulludeveloper
    @istanbulludeveloper 4 หลายเดือนก่อน

    very great tutorial, thanks!

  • @judgegroovyman
    @judgegroovyman 4 ปีที่แล้ว +3

    These videos should be shown in psychology classes. “How to treat yourself with respect and kindness”. This is how our inner dialogue should be.

  • @Tastygraph
    @Tastygraph 4 ปีที่แล้ว

    Most important lesson learned from this video is that you should not judge a book by its cover... People with reverse-caps can still be knowledgable and great teachers! I should tell my boss! 🤓😎

  • @noumankhan167
    @noumankhan167 3 ปีที่แล้ว

    Great video man

  • @scottcorbitt4543
    @scottcorbitt4543 ปีที่แล้ว

    I want this dude's coding music playlist lol, I can't find it on Spotify! But I love that it has Griz

  • @halivudestevez2
    @halivudestevez2 2 ปีที่แล้ว

    Wow! To the point! Really helpful!

  • @cuttlas2955
    @cuttlas2955 4 ปีที่แล้ว

    Very usefull video thank u Infallible Code

  • @DevDunkStudio
    @DevDunkStudio ปีที่แล้ว

    Great video!

  • @3dhex475
    @3dhex475 4 ปีที่แล้ว

    Just got yourself a new fan!

  • @KyryloVesna
    @KyryloVesna 3 ปีที่แล้ว

    yo dude, this is great

  • @haboychan
    @haboychan ปีที่แล้ว

    thank you! good tutorial

  • @joeyninteen175
    @joeyninteen175 9 หลายเดือนก่อน

    Awsome tutorial.

  • @sundusalharbi5713
    @sundusalharbi5713 2 ปีที่แล้ว

    Great, many thanks

  • @RimuruGameDev
    @RimuruGameDev 2 ปีที่แล้ว +3

    Великолепно! Большое спасибо за урок.

  • @alexspeleers
    @alexspeleers 4 ปีที่แล้ว

    YEAS - was thinking why I can't define my custom class in downloaded assets, and you helped me (:

  • @elisareisenbach1870
    @elisareisenbach1870 4 ปีที่แล้ว

    Very helpful dude

  • @AdrianCChase
    @AdrianCChase 3 ปีที่แล้ว

    This is amazing! Great job explaining it! Way better than unity's reference.

  • @fangyechannel
    @fangyechannel 4 ปีที่แล้ว

    love the shared knowledge point and this sharing method :)

  • @kulak8548
    @kulak8548 3 ปีที่แล้ว

    great video, thanks!

  • @user-sn6pf6cz6x
    @user-sn6pf6cz6x 6 หลายเดือนก่อน

    Very Good!

  • @Patrick-ui4ls
    @Patrick-ui4ls 4 ปีที่แล้ว +8

    Honestly, these videos would be more easier to consume without the roleplay.

    • @crazyfox55
      @crazyfox55 4 ปีที่แล้ว +1

      I agree but mainly because they are a little too courteous. The duplication of statements also slows it down aka "How does this work xyz?", "I'm glad you asked. I'll tell you how xyz works" "Thanks that helps a lot with xyz." We get that xyz is being talked about.

  • @bilalinci4981
    @bilalinci4981 8 หลายเดือนก่อน

    Thanks!

  • @aknerkan3428
    @aknerkan3428 3 ปีที่แล้ว

    Life saver!

  • @morganjames8626
    @morganjames8626 4 ปีที่แล้ว

    Very cool thanks for the clear explanation!

  • @lucasmontec
    @lucasmontec 4 ปีที่แล้ว +1

    fyi, youre the best unity youtuber out there (for coders).

  • @ananttheant
    @ananttheant 4 ปีที่แล้ว

    Great as always!

  • @Sovreighn7
    @Sovreighn7 4 ปีที่แล้ว

    Man, Charles is the best! - Barles

  • @TedThomasTT
    @TedThomasTT 4 ปีที่แล้ว

    These videos are so good dude

  • @user-fc2fg8rr8l
    @user-fc2fg8rr8l ปีที่แล้ว

    A valuable video

  • @thijsdevries9016
    @thijsdevries9016 3 ปีที่แล้ว

    For those that just want the to-the-point how-to's: skip to minute 4:00

  • @lukastomasek8038
    @lukastomasek8038 4 ปีที่แล้ว

    Great video I’ve Always got confused about assembly definition

  • @umairhassan1849
    @umairhassan1849 4 ปีที่แล้ว

    Hi your tutorials are very classy. I would like subtitles so that if I miss any point. I can tally there. Thumbs up for your work

  • @rdragon587
    @rdragon587 2 ปีที่แล้ว

    Thanks)

  • @Giannis_Krimitzas
    @Giannis_Krimitzas 3 ปีที่แล้ว

    Thank you

  • @flaviorodriguez8594
    @flaviorodriguez8594 2 ปีที่แล้ว

    thanks for that

  • @akisey1
    @akisey1 4 ปีที่แล้ว

    Another excellent video, thanks!

  • @CODEDSTUDIO
    @CODEDSTUDIO 4 ปีที่แล้ว +1

    Wow 🤩.

  • @ruchirraj5300
    @ruchirraj5300 4 ปีที่แล้ว +2

    Can you make some videos covering Advance topics in DOTS?

  • @22hundo73
    @22hundo73 4 ปีที่แล้ว +1

    The one with the backwards cap is definitely the evil one!

  • @blocbonbon
    @blocbonbon 3 ปีที่แล้ว

    The content was gold! However, although I'm highly impressed by your acting skills, I still thought it was a little cheesy to do it like this :D But I guess some others really liked it so oh well! I can live with it because the content and structure is very good otherwise ;)

  • @PiPiCatStudio
    @PiPiCatStudio 4 ปีที่แล้ว

    nice and clear!!! thank you

  • @info.matters
    @info.matters 2 ปีที่แล้ว

    Thanka man

  • @JonTopping
    @JonTopping 2 ปีที่แล้ว

    I'm still having so much trouble with this stuff, but the main reason is that I'm using someone else's code. They have put things into namespaces, like you're recommending. The problem is, that creates boundaries that are annoying. So for example, there's a script where the whole thing is in a namespace (I see it in the coding), and while I'm in that script there is a raycast, and I want it to send information from that raycast to another script (the raycast is a bullet, I want to adjust the HP of the object it's hitting). I do a normal getcomponent for the script on the object being hit, but I get this.
    The type or namespace name 'BodyPartId' could not be found (are you missing a using directive or an assembly reference?)
    It seems strange to me, because I can understand there being a problem if another script is trying to access stuff in a namespace (which I believe you can just define the namespace before the getcomponent to fix that), but here, I'm trying to access something completely open and normal, and it's not letting me, because I'm within a namespace.
    How do I fix that problem? I've been told doing stuff with the assembly definitions would help, but I don't totally understand what's happening here.
    Thanks for any help you can provide!

  • @SHOOTINGDNA
    @SHOOTINGDNA 4 ปีที่แล้ว

    It's Charles calling Charles again 😂😆

  • @lindonpeasley2469
    @lindonpeasley2469 3 ปีที่แล้ว

    Thanks