Author Topic: NGUI Upgrade brings failures  (Read 3565 times)

steinhot

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
NGUI Upgrade brings failures
« on: April 22, 2014, 12:59:25 AM »
I had purchased NGUI some time ago for a project that I have left on the shelf for over a year.  No, I'm getting back into it, upgraded everything, and saw that NGUI was throwing a lot of warnings in it's code (it's old and Unity has been upgraded several times underneath it.

So I upgraded what was a working project, despite the errors.  Now, i get 4 errors in the NGUI code:

Assets/NGUI/Scripts/UI/UIFilledSprite.cs(189,30): error CS0115: `UIFilledSprite.OnFill(BetterList<UnityEngine.Vector3>, BetterList<UnityEngine.Vector2>, BetterList<UnityEngine.Color>)' is marked as an override but no suitable method found to override

Assets/NGUI/Scripts/UI/UISlicedSprite.cs(64,30): error CS0115: `UISlicedSprite.UpdateUVs(bool)' is marked as an override but no suitable method found to override

Assets/NGUI/Scripts/UI/UISlicedSprite.cs(116,30): error CS0115: `UISlicedSprite.OnFill(BetterList<UnityEngine.Vector3>, BetterList<UnityEngine.Vector2>, BetterList<UnityEngine.Color>)' is marked as an override but no suitable method found to override

Assets/NGUI/Scripts/UI/UITiledSprite.cs(47,30): error CS0115: `UITiledSprite.OnFill(BetterList<UnityEngine.Vector3>, BetterList<UnityEngine.Vector2>, BetterList<UnityEngine.Color>)' is marked as an override but no suitable method found to override

Please help!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI Upgrade brings failures
« Reply #1 on: April 22, 2014, 05:03:10 AM »
There is no such thing as a UIFilledSprite, UISlicedSprite, etc.

You need to follow update instructions from the ReadMe file.

steinhot

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
Re: NGUI Upgrade brings failures
« Reply #2 on: April 22, 2014, 09:31:21 PM »
That did the trick!  Thank you!