SolidAlloy / SolidUtilities

Different utilities that simplify development in Unity3D.
Other
30 stars 20 forks source link

error CS0106: The modifier 'static' is not valid for this item #1

Closed PlayCreatively closed 4 years ago

PlayCreatively commented 4 years ago

Assets\Plugins\SolidUtilities-master\Runtime\Extensions\TypeExtensions.cs(140,13): error CS0106: The modifier 'static' is not valid for this item

SolidAlloy commented 4 years ago

Sorry, totally forgot static local methods are only available in C#8. I removed the static modifier, please try using the latest package release: https://github.com/SolidAlloy/SolidUtilities/releases/tag/1.7.1 https://github.com/SolidAlloy/ClassTypeReference-for-Unity/releases/tag/2.3.1