Hi, I've run into a problem when integrating NGUI into an existing project. In several places (AnimationOrTween.cs, UIButtonMessage.cs, perhaps others) you have declared a Type named Trigger. In all cases it seems that they are declared in a namespace or nested in a class. In my project I have a MonoBehaviour named Trigger which acts as a helper behaviour for polling the current state of a collider marked as isTrigger. Because your declarations are nested, I don't get a naming conflict error, but all your references to the Trigger classes are naked and end up targeting my Trigger class in the global namespace. I was able to solve my problem by renaming my Trigger class to TriggerBehaviour - not ideal, but it is a path of lesser resistance than altering the NGUI codebase.
My request is that since Trigger is a common name, could you add using statements to the top of scripts which reference the Trigger types to clear up namespace conflicts? For example, in UIButtonMessage you would add "using Trigger = UIButtonMessage.Trigger;".
I understand if this is not a solution you'd like to pursue, but I wanted to throw out my recommendation in case you are willing to accomodate.
Thanks,
- Beck