Top tips for scripting in Unity 2022 LTS | Tutorial

Поділитися
Вставка
  • Опубліковано 27 вер 2024

КОМЕНТАРІ • 54

  • @vinodakula3824
    @vinodakula3824 5 місяців тому +5

    +1 for conditional breakpoints and assertions. Will definitely start using them.

  • @ShiftyTheDev
    @ShiftyTheDev 5 місяців тому +34

    5:15 is so underrated

    • @SondaPower
      @SondaPower 5 місяців тому +11

      Until you will find out it's not a perfect solution 😅

    • @dreamcatforgotten8435
      @dreamcatforgotten8435 5 місяців тому +5

      @@SondaPower It only fails if you are using Singletons / mutable Statics religiously, and don't manually reset them when starting the game up again.
      If neither your code nor your Assets need to refresh from a Domain Reload, keeping Domain Reload unchecked won't have any bad side-effects.
      I do keep 'Reload Scene' checked so the first Scene loads properly the same way any other scene would.

    • @amitmoryosef2223
      @amitmoryosef2223 5 місяців тому +1

      TY best timestamp i ever clicked on

    • @timurradman3999
      @timurradman3999 5 місяців тому

      Best tip of all time

    • @YoutuberUser002
      @YoutuberUser002 4 місяці тому

      What are you on about pooling or the editor tip?

  • @stas_khavruk
    @stas_khavruk 5 місяців тому +30

    Excuse me, but in video has been mentioned several times: "get more info by link in description", like a C# Code style book, or ObjectPooling tutorial, but there is only a book of 80+ tips and there are no object pool and other mentioned themes...

    • @yigitcetinkaya8123
      @yigitcetinkaya8123 4 місяці тому

      They shared it in the description under this video Scalable art assets - 6 tips for improving workflows | Tutorial or you can find it by searching unity Create a C# style guide on google.

    • @batnikelam-mavzer443
      @batnikelam-mavzer443 3 місяці тому +1

      Lol unity..

  • @y01cu_yt
    @y01cu_yt 5 місяців тому +8

    Thanks for these pretty tutorials.

  • @diablo4ever868
    @diablo4ever868 2 місяці тому

    More of this please!

  • @senser1o76
    @senser1o76 5 місяців тому +2

    Super actual information thanks a lot unity!!!¡!!!!!!!!!!

  • @inunekonanita
    @inunekonanita 5 місяців тому +11

    Thank you very much for the tips! Very helpful ^-^

  • @benmols
    @benmols 4 місяці тому

    Great tutorial and very informative. Thank you

  • @halivudestevez2
    @halivudestevez2 4 місяці тому

    most usefull tips! thank you for this video!

  • @GameDevASMR
    @GameDevASMR 5 місяців тому +3

    The examples of Muse code showcased are pretty bad and contains errors. In 6:17 for example, first the AddComponent() is not possible because Collider is an abstract class. Then, you're not doubling the size of the right collider because GetComponent() is not retrieving the collider of myObject, so this code is not working and is absolutely not not doing what was wanted. I didn't expect Muse to write working and pretty code (not yet), however I'm sorry but I would expect Unity to verify the code showcased in videos like this one, here it's a miss :/.

    • @Nomad1108
      @Nomad1108 4 місяці тому

      I was about to ask if Muse was better than GPT-4o on code generation, what do you think?

    • @GameDevASMR
      @GameDevASMR 4 місяці тому

      ​@@Nomad1108 Sorry I never used Muse myself yet, and GPT very little (only for specific things I'm not comfortable with like Regex). Guess you'll have to try yourself (or maybe search for some reviews online) to have a real opinion.

  • @yugoanzai8197
    @yugoanzai8197 2 місяці тому

    Careful when disabling domain and scene reload when entering play mode! There are a lot of moving parts that need to be addressed for this to work correctly

  • @BlaCKM00n333
    @BlaCKM00n333 5 місяців тому

    changing script templates is soooo cool. i want it for years😓

  • @SherazAli-l4t
    @SherazAli-l4t 5 місяців тому

    What is difference between Assertions and Debug.LogError?

  • @creativebayo9201
    @creativebayo9201 4 місяці тому

    Sorry, I need some help with Unity working with Virtual Studio. When I add a component(script) and head to VS, most of the functions I intend to call don't come up, and as a result, whatever code I write in VS is not usable in Unity. Can anyone help out here? It's urgent!!

  • @tahazia6340
    @tahazia6340 5 місяців тому

    I love E-Book Thanks

  • @halivudestevez2
    @halivudestevez2 4 місяці тому

    so don't we have to wait for Unity 6 to be able to use Muse?

  • @Kashanali-c1y
    @Kashanali-c1y 5 місяців тому

    very very useful video

  • @ErfanUnity
    @ErfanUnity 2 місяці тому

    Good

  • @dzitsiuk
    @dzitsiuk 5 місяців тому

    You forgot to include the last section (Profiling) in the list of chapters.

  • @qwerty6778x
    @qwerty6778x 5 місяців тому

    REALLY HELPFUL!!

  • @Mr3xclamtion
    @Mr3xclamtion Місяць тому +1

    3:48 please stop doing this. It's 2024, you shouldn't need to add variable name prefixes...

  • @CyberAngel67
    @CyberAngel67 2 місяці тому

    And this goes fully against the Naming Guidelines introduced by Unity some years ago, why say one thing and then say another!! OMG Unity, get your act together!!

  • @DotNetCookbook
    @DotNetCookbook Місяць тому +1

    Taking a "Code style" advice from Unity team is a joke

  • @defeatSpace
    @defeatSpace 5 місяців тому

    Ponzi Growth Engine

  • @stas_khavruk
    @stas_khavruk 5 місяців тому +6

    I want to check Unity Test Framework tutorial, but it is missing from vide description, when voice over said to check it below!

  • @huudungnguyen5453
    @huudungnguyen5453 5 місяців тому +3

    These tips are very useful

  • @GameDevBox
    @GameDevBox 5 місяців тому +4

    Thanks great stuff!

  • @tsomoos
    @tsomoos 5 місяців тому +11

    Super useful tips!

  • @pedroduran8927
    @pedroduran8927 5 місяців тому +3

    Thank you! keep going with those videos!

  • @nuin9937
    @nuin9937 4 місяці тому

    Don't you want reload scene on with domain reolad off?

  • @metinevrenkurtulus
    @metinevrenkurtulus 5 місяців тому +1

    Has Unity given up on suggesting using assembly definitions? I'm using them but Unity still keeps recompiling everything!

  • @tomazznidarko8700
    @tomazznidarko8700 5 місяців тому +1

    Presented by Pete Jepson, he is a very good teacher from the Udemy. I wonder what is his connection with Unity ...

  • @kaasronald3623
    @kaasronald3623 5 місяців тому +1

    thanks this is awesome. more videos like this.

  • @DevDunkStudio
    @DevDunkStudio 5 місяців тому

    Assembly definitions also are a great addition for a good code base and faster editor compilation speeds

  • @lemetamax
    @lemetamax 5 місяців тому +4

    Stuff like this is why I open UA-cam everyday

  • @simoncodrington
    @simoncodrington 3 місяці тому

    This one was great guys nice work. Having clear and concise videos like this is super handy for everyone

  • @HansPeter-gx9ew
    @HansPeter-gx9ew 5 місяців тому

    great tutorial, this is what we need, thank you!!!

  • @makeaddict
    @makeaddict 5 місяців тому

    Thanks! So helpful.

  • @kleioscope
    @kleioscope 5 місяців тому

    muse i useless....

  • @KingboxUpdrive-tu6ip
    @KingboxUpdrive-tu6ip 5 місяців тому +1

    Why Unity Pro $2,040.00?
    Sorry don't buy, The error this wrong Unity Hub.

    • @pedroduran8927
      @pedroduran8927 5 місяців тому +2

      $2040 / 12 months = $170 usd monthly.
      the price is correct, that's just how much cost unity pro.

    • @GameDevBox
      @GameDevBox 5 місяців тому

      @@pedroduran8927 also you don't need to buy it, Unity 6 will remove the splash, just buy pro for certain features. I'm sure you don't need them

    • @KingboxUpdrive-tu6ip
      @KingboxUpdrive-tu6ip 5 місяців тому

      Lol like this Unity 6 Pro

    • @prrithwirajbarman8389
      @prrithwirajbarman8389 4 місяці тому

      It's a hugh corporate company now.