1
0
mirror of https://github.com/Cardidi/dotween-upm-fork.git synced 2025-12-21 01:36:05 +08:00

[BUGFIX] Fixed Material.DOGradientColor not using color property overload correctly

This commit is contained in:
Demigiant 2018-08-17 12:14:57 +02:00
parent 1d20e55fd8
commit 85967318a0
13 changed files with 3 additions and 3 deletions

View File

@ -55,7 +55,7 @@ namespace DG.Tweening
for (int i = 0; i < len; ++i) {
GradientColorKey c = colors[i];
if (i == 0 && c.time <= 0) {
target.color = c.color;
target.SetColor(property, c.color);
continue;
}
float colorDuration = i == len - 1

View File

@ -32,7 +32,7 @@ namespace DG.Tweening
public class DOTween
{
/// <summary>DOTween's version</summary>
public static readonly string Version = "1.2.100"; // Last version before modules: 1.1.755
public static readonly string Version = "1.2.105"; // Last version before modules: 1.1.755
///////////////////////////////////////////////
// Options ////////////////////////////////////

Binary file not shown.

View File

@ -55,7 +55,7 @@ namespace DG.Tweening
for (int i = 0; i < len; ++i) {
GradientColorKey c = colors[i];
if (i == 0 && c.time <= 0) {
target.color = c.color;
target.SetColor(property, c.color);
continue;
}
float colorDuration = i == len - 1