RealityStop / Bolt.Addons.Community

A community-driven project for extending Unity Bolt
MIT License
250 stars 34 forks source link

Update GetRandomElementUnit.cs #27

Closed fshiruba closed 3 years ago

fshiruba commented 3 years ago

Removing call to UnityEngine.Random because Unity 2020.2 complains about the class being static Also it seems the variable wasn't used anyway.

Locally this tiny change enabled my project to run after upgrading from 2020.1

RealityStop commented 3 years ago

Looks good! Thanks for the contribution!

As you noted, that declaration shouldn't have been left around anyway!