1
0
mirror of https://github.com/Cardidi/dotween-upm-fork.git synced 2025-12-20 17:26:03 +08:00
Demigiant f3a549436b Hyper-compatible version fix which allows Color32 to work correctly
+ Fix to ScrollRect.DONormalizedPos not working correctly with hyper-compatible mode
2016-03-12 15:42:09 +01:00

20 lines
417 B
C#

using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using DG.Tweening;
using DG.Tweening.Core;
using DG.Tweening.Plugins.Options;
using UnityEngine;
using UnityEngine.UI;
public class TempTests : BrainBase
{
public Color32 color;
void Start ()
{
DOTween.To(()=> color, x=> color = x, Color.red, 2)
.OnUpdate(()=> Debug.Log(color));
}
}