예제 #1
0
 public void Clear()
 {
     if (_tracks == null)
     {
         return;
     }
     _tracks.Clear();
     Reset();
     _onStart           = null;
     _onComplete        = null;
     _deltaTimeDelegate = null;
     _loopType          = LoopType.Restart;
     _loopTime          = 1;
     _tweenUpdate       = TweenUpdateMode.Update;
     _duration          = 0;
 }
예제 #2
0
 public TweenPlayer SetLoop(LoopType loopType, int loop = 1)
 {
     _loopType = loopType;
     _loopTime = loop;
     return(this);
 }