示例#1
0
 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);
    }
示例#3
0
 public void Update(DwarfTime time)
 {
     TweenTimer.Update(time);
 }