Demigiant Forum

Unity Assets => DOTween & DOTween Pro => Topic started by: Gamgie on November 23, 2015, 02:12:48 PM

Title: No DOcolor on UI image
Post by: Gamgie 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 !
Title: Re: No DOcolor on UI image
Post by: Daniele on November 23, 2015, 04:24:43 PM
Hi!

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

Cheers,
Daniele
Title: Re: No DOcolor on UI image
Post by: Gamgie 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.
Title: Re: No DOcolor on UI image
Post by: Daniele 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.
Title: Re: No DOcolor on UI image
Post by: Gamgie 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 !
Title: Re: No DOcolor on UI image
Post by: Daniele on November 23, 2015, 07:58:38 PM
Great :)