Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Vorx on July 06, 2012, 02:07:12 PM

Title: New customer, imported NGUI into current project broke build
Post by: Vorx on July 06, 2012, 02:07:12 PM
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
Title: Re: New customer, imported NGUI into current project broke build
Post by: PhilipC on July 06, 2012, 02:15:04 PM
Do you have a class named Trigger? Something is overriding the UIButtons Trigger Enum
Title: Re: New customer, imported NGUI into current project broke build
Post by: Vorx on July 06, 2012, 02:25:06 PM
Epic fail on my part, thank you :)