public TweenTimer(TweenTimer timer) { state = timer.state; currentTime = timer.currentTime; duration = timer.duration; speed = timer.speed; easeFunc = timer.easeFunc; }
/// <summary> /// Start the tweening operation. /// </summary> static public TweenTimer Begin(GameObject go, float duration, System.Action callback) { TweenTimer comp = UITweener.Begin <TweenTimer>(go, duration); comp.onFinished = callback; return(comp); }
public void Update(DwarfTime time) { TweenTimer.Update(time); }