Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Content

Hey!

Since Unity 2021.2 you can use the new features of C# 9 like better Pattern Matching (is, and, or etc. keywords) as well as RECORD type (kind of) :)

Update: I made a mistake stating that is can be used instead of ==. It will only works when comparing objects or static values:



Here is my blog post about some of the more useful features: https://www.sunnyvalleystudio.com/blog/unity-csharp-9-features 


I hope that you will find it useful!

-Peter

Files

Previews only

Comments

No comments found for this post.