I'm guessing your project has a global class called "Direction", which conflicts with NGUI's class called Direction which resides in the ActiveAnimation namespace.
Either that, or you're using some mecanim asset that declares it, polluting the global namespace. I remember a thread on this not long ago.