Deadcows / MyBox

MyBox is a set of attributes, tools and extensions for Unity
http://deadcow.ru
MIT License
1.91k stars 241 forks source link

Improve compatibility with Unity 2019 #217

Closed angelsalascalvo closed 1 year ago

angelsalascalvo commented 1 year ago

In the last update (1.7.0) the DisplayInspectorAttribute.cs script uses Null Coalescing Assignment, this causes an incompatibility with old versions of unity since this is a feature of c# 8.0 onwards. It has been changed to a compatible code to be able to use the latest update.

More info about Null Coalescing Assignment: https://learn.microsoft.com/dotnet/csharp/language-reference/proposals/csharp-8.0/null-coalescing-assignment

Deadcows commented 1 year ago

Thanks!