InvexGames / MaterialUI

MaterialUI is a UI kit for Unity that follows Google's official material design guidelines.
http://invexgames.com/materialUI.html
Other
771 stars 200 forks source link

Error On Package Import (0.2.2 And Above) #13

Closed DrabWeb closed 9 years ago

DrabWeb commented 9 years ago

When I imported the package, I got this error

Assets/MaterialUI/Scripts/Components/ButtonConfig.cs(35,31): error CS0723: MaterialUI.ButtonConfig.inkBlotsControl': cannot declare variables of static types

I tried fixing it multiple ways, but when I actually get it to run, the ink blots don't work. I would be very happy if you could help me, as I love the new features!

Thanks, DrabWeb

InvexGames commented 9 years ago

Hi there! I don't seem to be getting this issue when importing. Would you mind telling me which version of Unity you have, and if any other packages have been imported or if any other assets exist in the project? Maybe try importing it into a blank project and see if that works?

Cheers.

DrabWeb commented 9 years ago

Fixed it! Just had to delete all the folders from the old version and import it

InvexGames commented 9 years ago

Sweet.