Author Topic: New customer, imported NGUI into current project broke build  (Read 3290 times)

Vorx

  • Guest
Greetings,

I've been working in a project of mine and I recently purchased nGui. I imported the who nGui folder into my project and I am getting the error 'Trigger' does not contain a definition for 'OnClick'. This error occurs in UIButtonPlayAnimation and UIButtonTween. I assumed this would work right out of the box, I am just confused as this was just imported, why I would get this error on my current project, but it works fine in a blank empty project? There are no references to conflicts with my files, only the files under the ngui/scripts/interaction folder. Help anyone? :o

PhilipC

  • Guest
Re: New customer, imported NGUI into current project broke build
« Reply #1 on: July 06, 2012, 02:15:04 PM »
Do you have a class named Trigger? Something is overriding the UIButtons Trigger Enum

Vorx

  • Guest
Re: New customer, imported NGUI into current project broke build
« Reply #2 on: July 06, 2012, 02:25:06 PM »
Epic fail on my part, thank you :)