Unity 2021.2 — New Features for Programmers

preview_player
Показать описание
#Unity2021

Unity 2021.2 features a .NET Standard upgrade that's particularly important for developers to understand. In this video, I'll share how Unity's scripting layer works under the covers and why the upgrade to .NET Standard 2.1 is so important.

Be sure to check out our partner channel @ThousandAnt

Links from the video

00:00 Intro
01:06 Level_2 Game Dev Newsletter
01:34 How does scripting work in Unity?
03:09 Mono Upgrade and New .NET Profile
04:12 .NET Standard 2.1
05:45 C# 8 Support
06:43 Outro

💬 Join Our Community

❤️ My Favorite Unity Assets *

* Disclosure: These are affiliate links, which means I'll receive a commission if you use them to make a purchase.
Рекомендации по теме
Комментарии
Автор

Thanks for the insight, Charles! Would be really interested in seeing some of these shiny new features showcased in a project to get a better understanding of the benefits and use cases 🍻

iHeartGameDev
Автор

You had me at "Default interface methods". 🤩

AlanZucconi
Автор

Great! My favourite bit was when you showed the Range function. It would be super swell if you did a video where you went over a bunch more newly available functions that could be useful to Unity devs! Also you mentioned plugins, maybe there are some interesting suggestions that you could go over :) Again, thanks for the swell content, love it!

robrab
Автор

I am so happy you made this video. I was reading couple of times about what mono is and never could wrap may head around it. Now I get it. Ty very much!

MarekNijaki
Автор

Oooh Shiny New Programming Features! Honestly there is some good stuff in here and it's interesting to see the cross pollination of not totally terrible ideas from the TypeScript/JavaScript world making the trip to C# land.

jvaughanx
Автор

Awesome video Charles, super happy to see these improvements to the fundamentals of Unity. Thanks for breaking it down!

ThousandAnt
Автор

Of course. They should fully implement net core and get rid of Mono. Also, they should at least make all previously introduced features useful and continue improving them rather then introduce new features every single release nobody will ever use.

MrGuardianX
Автор

Good quality videos, descriptive, to the point, fun to watch :)

residentevil
Автор

Ooo, the interfaces with default implementation! Thats a controversial thing, I'd really love to know your opinion on this topic :D Thanks for the insight btw!

nekit
Автор

I'll be waiting for at least 2021.3 to maximise stability. I can't use any non-LTS for work anything serious and I prefer not to have too many intermediate versions installed taking up space. The newer C# feature support is a godsend though.

TheSpacecraftX
Автор

I mean it's nice that unity upgrades it's coding. But why not use this change and right up jump to C# version 9? 😢

MTheConqueror
Автор

I'll call it modern when it's at C#10 and .NET 6!

Raziaar
Автор

Awesome explanation. I am really happy the update is good for us developers. Unfortunately can't use 2021 yet as my current project is in 2020.3f1 and updating to new Unity version may cause issues, past experience. But will definitely will try it out on the earliest opportunity. :)

KamranWali
Автор

And what is with the RTX DLLS support, I heard so much about in 2021.2?

letmedwight
Автор

The only feature I'm looking for is the improvement for Assembly Reload after code compilation.
Is very frustrating to save your script have to wait 8 to 15 seconds to see your changes while any modern web framework does that instantly.

It's been 4+ years since I'm waiting for this.
Improvements were made, but the problem remains.

OTadashi
Автор

Great explanation for the new feature.

MichoSchmidt
Автор

Which should we use for a Windows build? IL2CPP or Mono? Now with all these new developments is Mono better for Windows? What about Android build? The Google play store expects IL2CPP as the code is c++ and therefore more performant. Finally, that is what will matter right? What matters is how the user feels when the game is played. I personally feel that build times are a concern only to us. The end-user wouldn't care if your build too 3 hours or a week to build. They will be concerned about the game quality, speed, playability, etc. I hope you give your expert opinion on this widely debated subject.

diliupg
Автор

Very good update something very interesting for developers after a long time. thanks charles

MohammadFaizanKhanJ
Автор

I see how unity simplify things for users.
I wish for a components that goes through my code and automatically fixes the depricated stuff to the right version

yudanaim
Автор

Does Unity not already support .NET 4.x ? so why do they made a .NET 2.1?

letmedwight