Author Topic: `Direction' does not contain a definition for `Forward'  (Read 1709 times)

pcutile

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 81
    • View Profile
`Direction' does not contain a definition for `Forward'
« on: March 13, 2016, 09:39:15 AM »
i idon't know the reason but know have this error!:

Assets/NGUI/Scripts/Interaction/UIPlayAnimation.cs(48,52): error CS0117: `Direction' does not contain a definition for `Forward'

I have reimported ngui but error don't disappear.

Another is this:

Assets/NGUI/Scripts/Internal/ActiveAnimation.cs(35,46): error CS0117: `Direction' does not contain a definition for `Toggle'

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: `Direction' does not contain a definition for `Forward'
« Reply #1 on: March 13, 2016, 10:39:24 AM »
Means you have your own class called "Direction" that conflicts with AnimationOrTween.Direction.