Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Rooster on July 09, 2012, 03:37:57 AM
-
just imported 2.0.9 into a new, clean, empty project, and immediately get these errors:
Assets/NGUI/Scripts/Interaction/UIButtonTween.cs(32,42): error CS0117: `Trigger' does not contain a definition for `OnClick'
Assets/NGUI/Scripts/Interaction/UIButtonPlayAnimation.cs(33,42): error CS0117: `Trigger' does not contain a definition for `OnClick'
Haven't put anything into the project yet except for NGUI. Thanks.
-
I make a clean project and inport NGUI 2.09 and all work fine here. No errors.
Ensure you check all files when inport Ngui.
If not, check AnimationOrTween.cs . There is placed the Triggers.
-
Sounds like you have a class in your project called "Trigger". Rename it to something else.
-
I solved this problem by replacing Trigger with AnimationOrTween.Trigger . Kinda hacky.