Тёмный

Top tips for scripting in Unity 2022 LTS | Tutorial 

Unity
Подписаться 1,2 млн
Просмотров 32 тыс.
50% 1

In this video, we’re going to look at different tips for scripting to increase your productivity in Unity 2022 LTS. You’ll learn more about creating a code style guide, the object pooling pattern, Unity Muse, as well as methods to debug and test your code.
These scripting tips, and much more, are included in the ‘80+ tips to increase your productivity in Unity 2022 LTS': on.unity.com/4bsk7iH
Timestamps:
[0:00] Intro
[0:07] Namespaces
[1:31] Attributes
[2:54] Code style guide
[4:24] Object pooling
[5:35] Unity Muse
[7:08] Roslyn Analyzer
[9:11] Debugging
[10:47] Assertions
[11:45] Unity Test Framework
#unity #gamedev #unitytutorials

Игры

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

 

2 авг 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 52   
@vinodakula3824
@vinodakula3824 3 месяца назад
+1 for conditional breakpoints and assertions. Will definitely start using them.
@ShiftyTheDev
@ShiftyTheDev 3 месяца назад
5:15 is so underrated
@SondaPower
@SondaPower 3 месяца назад
Until you will find out it's not a perfect solution 😅
@dreamcatforgotten8435
@dreamcatforgotten8435 3 месяца назад
@@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 3 месяца назад
TY best timestamp i ever clicked on
@timurradman3999
@timurradman3999 3 месяца назад
Best tip of all time
@YoutuberUser002
@YoutuberUser002 3 месяца назад
What are you on about pooling or the editor tip?
@inunekonanita
@inunekonanita 3 месяца назад
Thank you very much for the tips! Very helpful ^-^
@pedroduran8927
@pedroduran8927 3 месяца назад
Thank you! keep going with those videos!
@y01cu_yt
@y01cu_yt 3 месяца назад
Thanks for these pretty tutorials.
@simoncodrington
@simoncodrington Месяц назад
This one was great guys nice work. Having clear and concise videos like this is super handy for everyone
@HansPeter-gx9ew
@HansPeter-gx9ew 3 месяца назад
great tutorial, this is what we need, thank you!!!
@benmols
@benmols 3 месяца назад
Great tutorial and very informative. Thank you
@halivudestevez2
@halivudestevez2 3 месяца назад
most usefull tips! thank you for this video!
@GameDevBox
@GameDevBox 3 месяца назад
Thanks great stuff!
@huudungnguyen5453
@huudungnguyen5453 3 месяца назад
These tips are very useful
@stas_khavruk
@stas_khavruk 3 месяца назад
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 3 месяца назад
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 Месяц назад
Lol unity..
@senser1o76
@senser1o76 3 месяца назад
Super actual information thanks a lot unity!!!¡!!!!!!!!!!
@makeaddict
@makeaddict 3 месяца назад
Thanks! So helpful.
@DevDunkStudio
@DevDunkStudio 3 месяца назад
Assembly definitions also are a great addition for a good code base and faster editor compilation speeds
@kaasronald3623
@kaasronald3623 3 месяца назад
thanks this is awesome. more videos like this.
@diablo4ever868
@diablo4ever868 5 дней назад
More of this please!
@stas_khavruk
@stas_khavruk 3 месяца назад
I want to check Unity Test Framework tutorial, but it is missing from vide description, when voice over said to check it below!
@tsomoos
@tsomoos 3 месяца назад
Super useful tips!
@lemetamax
@lemetamax 3 месяца назад
Stuff like this is why I open RU-vid everyday
@yugoanzai8197
@yugoanzai8197 Месяц назад
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
@user-wk8os3dz2c
@user-wk8os3dz2c 3 месяца назад
very very useful video
@tahazia6340
@tahazia6340 3 месяца назад
I love E-Book Thanks
@BlaCKM00n333
@BlaCKM00n333 3 месяца назад
changing script templates is soooo cool. i want it for years😓
@nuin9937
@nuin9937 2 месяца назад
Don't you want reload scene on with domain reolad off?
@metinevrenkurtulus
@metinevrenkurtulus 3 месяца назад
Has Unity given up on suggesting using assembly definitions? I'm using them but Unity still keeps recompiling everything!
@halivudestevez2
@halivudestevez2 3 месяца назад
so don't we have to wait for Unity 6 to be able to use Muse?
@erfantahrabady4409
@erfantahrabady4409 19 дней назад
Good
@creativebayo9201
@creativebayo9201 2 месяца назад
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!!
@tomazznidarko8700
@tomazznidarko8700 3 месяца назад
Presented by Pete Jepson, he is a very good teacher from the Udemy. I wonder what is his connection with Unity ...
@user-zb7vl7br3d
@user-zb7vl7br3d 3 месяца назад
What is difference between Assertions and Debug.LogError?
@GameDevASMR
@GameDevASMR 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 2 месяца назад
I was about to ask if Muse was better than GPT-4o on code generation, what do you think?
@GameDevASMR
@GameDevASMR 2 месяца назад
​@@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.
@dzitsiuk
@dzitsiuk 3 месяца назад
You forgot to include the last section (Profiling) in the list of chapters.
@CyberAngel67
@CyberAngel67 10 дней назад
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!!
@defeatSpace
@defeatSpace 3 месяца назад
Ponzi Growth Engine
@kleioscope
@kleioscope 3 месяца назад
muse i useless....
@KingboxUpdrive-tu6ip
@KingboxUpdrive-tu6ip 3 месяца назад
Why Unity Pro $2,040.00? Sorry don't buy, The error this wrong Unity Hub.
@pedroduran8927
@pedroduran8927 3 месяца назад
$2040 / 12 months = $170 usd monthly. the price is correct, that's just how much cost unity pro.
@GameDevBox
@GameDevBox 3 месяца назад
@@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 3 месяца назад
Lol like this Unity 6 Pro
@prrithwirajbarman8389
@prrithwirajbarman8389 2 месяца назад
It's a hugh corporate company now.
@qwerty6778x
@qwerty6778x 3 месяца назад
REALLY HELPFUL!!
Далее
20 Advanced Coding Tips For Big Unity Projects
22:23
Просмотров 171 тыс.
🔴Ютуб закрывают... Пока?
00:39
Просмотров 979 тыс.
Should you use Unity 6 to develop your Game?
25:28
Просмотров 41 тыс.
10 Things You NEED to Be Doing in Unity
11:40
Просмотров 129 тыс.
Why Doesn’t Everyone Use This Animation???
23:59
Просмотров 98 тыс.
Building Runtime UI with UI Toolkit In Unity
21:35
Просмотров 34 тыс.
Software Architecture in Unity
7:13
Просмотров 115 тыс.
Why Unreal Engine 5.4 is a Game Changer
12:46
Просмотров 1,2 млн
Better Coding in Unity With Just a Few Lines of Code
15:27
10 Unity Tips You (Probably) Didn't Know About
8:58
Просмотров 10 тыс.
The Future of Game Development
8:58
Просмотров 1,2 млн
МЕГАЯЩИКИ ВСЁ…
16:55
Просмотров 186 тыс.
😱Угадай ЮТУБЕРА | Wicsur + CLEX
10:56
Просмотров 212 тыс.