Unity Tutorial: Assemblies & Project Organisation

SdĂ­let
VloĆŸit
  • čas pƙidĂĄn 17. 07. 2024
  • In this tutorial we'll look at how we can organise our project to make it easier to locate and work with things as the project goes. We'll look at solutions related to file and folder organisation as well as some code techniques we can follow.
    đŸŽžïž Chapters
    00:00 Introduction
    02:00 File and Folder Structure
    11:00 Setting up some test code
    16:35 Namespaces
    19:30 Using assemblies
    26:30 Relocating TMPro
    30:00 General guidance
    📂 Grab the full project ➠ github.com/GameDevEducation/U...
    If you've got questions add a comment below or send them in for the next Q&A video
    đŸ€” Send in your questions ➠ forms.gle/ToyvqPaBFvpFLtNbA
    📁 The searchable video archive is at ➠ www.iainmcmanus.dev/gamedev-e...
    Looking for other ways to get involved?
    🟠 Support the channel on Patreon ➠ / iaintheindie
    🟡 Get the code for all the projects on GitHub ➠ github.com/orgs/GameDevEducation
    🟱 Check out my games on itch.io ➠ iaintheindie.itch.io/
    🟣 Follow me on Twitter ➠ / iaintheindie
    🎉 Thankyou to all of the Patrons 🎉
    ➔ Manuel Baptista
    ➔ Grant Coble-Neal
    ➔ Kasper Enwall
    ➔ Adam Ercanbrack
    ➔ Tylah Heil
    ➔ Ian Kehoe
    ➔ James McCarthy
    ➔ Kalvin Pearce
    ➔ Bradley Seymour
    ➔ Seriphis
    ➔ SiliconOrchid
    ➔ Callan Syratt
    ➔ Daniel Williams
    #Unity #Tutorial #GameDev

Komentáƙe • 7

  • @LimitedInput
    @LimitedInput Pƙed rokem +3

    Great topic. I have shelved many projects because they were not easy to work with. I just restarted one of my game projects because I organized it very poorly. I am also forcing myself to use assembly definitions this time around to improve compiling time.

  • @michaelwilson8461
    @michaelwilson8461 Pƙed rokem

    Another useful bit advice. I'm not really to the point in my project where this is necessary , but always good to look ahead when designing something that will eventually reach that point.
    Everyone has their own opinions, but regarding video length, I prefer the pace that a longer video like this allows.
    Trying to cram everything into 10 minutes tends to lead to over generalization and speeding through points that can benefit from a more thoughtful explanation.
    Topics should take as much time to cover as they need, not condensed to meet some arbitrary time limit.

    • @IainTheIndie
      @IainTheIndie  Pƙed rokem +1

      Absolutely and it's possible to apply these changes to an already setup project as well. It takes a bit of effort but not a prohibitive amount. We did that for Heave semi-recently and it's helped out a bunch.
      The longer form videos will definitely continue to be the norm. I do very much understand folks wanting to be able to jump quickly to a solution/section though so I've been adding in the chapter markers in the recent ones. That feels like a good compromise that allows folks to jump quickly if they need while still making sure there's time to give a good background on areas.

    • @Octamed
      @Octamed Pƙed rokem

      @@IainTheIndie Generally there's thousands of shorter beginner videos, but next to zero intermediate/advanced topics, so I really appreciate these in depth advanced topics. There's also nothing stopping you from doing a mini 2 minute lightning overview for people are advanced.

  • @Agigaherger
    @Agigaherger Pƙed rokem +3

    Your channel is a goldmine and you're a great teacher, but your videos run a little long.

  • @chiragsawajiyani8540
    @chiragsawajiyani8540 Pƙed rokem

    Hi sir , I have a question like How to assign a unity event to a button.Onclick.addlisner() event. Like i have a button refrence in a script and instead of assign methode call in onclick event of that button i have a unity event in the same script which have that button refrence and invoke this event by using button.onclick.add listen (). Thanks

    • @IainTheIndie
      @IainTheIndie  Pƙed rokem

      I’m not really sure how your question relates to the video? For a fairly general question like that your best bet is going to be to either look into the Unity support pages on adding listeners or look at support sites like stack overflow.