destroy() 공개 메소드

removes the Tween from action and cleans up its state
public destroy ( ) : void
리턴 void
 public void Stop()
 {
     if (_tween != null)
     {
         _tween.destroy();
     }
 }
예제 #2
0
파일: ItemHeart.cs 프로젝트: apautrot/gdp11
 void OnDestroy()
 {
     if (tween != null)
     {
         tween.destroy();
     }
 }
예제 #3
0
 void OnDestroy()
 {
     if (rotateTween != null)
     {
         rotateTween.destroy();
     }
 }
예제 #4
0
 public void OnDestroy()
 {
     if (_tween != null)
     {
         _tween.destroy();
     }
 }
예제 #5
0
파일: HUD.cs 프로젝트: apautrot/gdp11
    new void OnDestroy()
    {
        base.OnDestroy();

        if (keyTween != null)
        {
            keyTween.destroy();
        }
    }
예제 #6
0
 static public int destroy(IntPtr l)
 {
     try {
         AbstractGoTween self = (AbstractGoTween)checkSelf(l);
         self.destroy();
         return(0);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
예제 #7
0
    new void OnDestroy()
    {
        base.OnDestroy();

        if (tween != null)
        {
            tween.destroy();
        }

        if (spriteTween != null)
        {
            spriteTween.destroy();
        }
    }
예제 #8
0
 private void handleUpdateOfType(GoUpdateType updateType, float deltaTime)
 {
     for (int num = _tweens.Count - 1; num >= 0; num--)
     {
         AbstractGoTween abstractGoTween = _tweens[num];
         if (abstractGoTween.state == GoTweenState.Destroyed)
         {
             removeTween(abstractGoTween);
         }
         else if (abstractGoTween.updateType == updateType && abstractGoTween.state == GoTweenState.Running && abstractGoTween.update(deltaTime * abstractGoTween.timeScale) && (abstractGoTween.state == GoTweenState.Destroyed || abstractGoTween.autoRemoveOnComplete))
         {
             removeTween(abstractGoTween);
             abstractGoTween.destroy();
         }
     }
 }