Author Topic: MenuItem errors on import  (Read 4828 times)

btrikojus

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 9
    • View Profile
MenuItem errors on import
« on: September 12, 2014, 01:21:42 AM »
Hi there,

just bought NGUI from Asset store and tried to import it into Unity 4.5.4.  Got these errors:

Assets/NGUI/Examples/Scripts/InventorySystem/Editor/InvFindItem.cs(28,10): error CS0616: `MenuItem': is not an attribute class
Assets/NGUI/Examples/Scripts/InventorySystem/Editor/InvFindItem.cs(28,10): error CS0246: The type or namespace name `MenuItemAttribute' could not be found. Are you missing a using directive or an assembly reference?

Tried deleting that script and a bunch of new (similar) errors appeared.  Tried redownloading and reimporting plugin.  Tried reimporting all assets.

Thanks

btrikojus

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 9
    • View Profile
Re: MenuItem errors on import
« Reply #1 on: September 12, 2014, 01:27:34 AM »
Just noticed that error doesn't occur if I import the plugin into a blank project.  Any idea where to find the conflict?

Thanks

btrikojus

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 9
    • View Profile
Re: MenuItem errors on import
« Reply #2 on: September 12, 2014, 01:34:14 AM »
never mind.  Had a custom object called MenuItem.

Thanks