No DOcolor on UI image
« on: November 23, 2015, 02:12:48 PM »
Hello all !

I just update my Dotween from v1.0.420 to v1.1.060.
My UnityEngine.UI.Image.DoColor function doesn't compile anymore. It seems it doesn't find the function with the new version.

Can you help me solving this ?

Thanks !

*

Daniele

  • Dr. Admin, I presume
  • *****
  • 378
    • View Profile
    • Demigiant
Re: No DOcolor on UI image
« Reply #1 on: November 23, 2015, 04:24:43 PM »
Hi!

I guess you simply didn't run DOTween's Setup again ;)

Cheers,
Daniele

Re: No DOcolor on UI image
« Reply #2 on: November 23, 2015, 05:14:33 PM »
I already run the DOTween's Setup after importing the new version.

This is my error :
'Image' does not contain a definition for 'DOColor' and the best extension method overload 'ShortcutExtensions.DOColor(Camera, Color, float)' requires a receiver of type 'Camera'

I didn't change my code between the 2 versions.

*

Daniele

  • Dr. Admin, I presume
  • *****
  • 378
    • View Profile
    • Demigiant
Re: No DOcolor on UI image
« Reply #3 on: November 23, 2015, 05:45:07 PM »
Then another thing that might be happening is that you moved DOTween's previous version folder, and when you imported the new one you ended up with multiple DOTween libraries. Use the Project search panel to look for other folders that contain DOTween and delete duplicates.

Re: No DOcolor on UI image
« Reply #4 on: November 23, 2015, 07:20:17 PM »
Indeed, there were other DOTween files in other folders.
After a clean reinstall, everything works great !

Thanks !

*

Daniele

  • Dr. Admin, I presume
  • *****
  • 378
    • View Profile
    • Demigiant
Re: No DOcolor on UI image
« Reply #5 on: November 23, 2015, 07:58:38 PM »
Great :)