public void Stop() { if (_tween != null) { _tween.destroy(); } }
void OnDestroy() { if (tween != null) { tween.destroy(); } }
void OnDestroy() { if (rotateTween != null) { rotateTween.destroy(); } }
public void OnDestroy() { if (_tween != null) { _tween.destroy(); } }
new void OnDestroy() { base.OnDestroy(); if (keyTween != null) { keyTween.destroy(); } }
static public int destroy(IntPtr l) { try { AbstractGoTween self = (AbstractGoTween)checkSelf(l); self.destroy(); return(0); } catch (Exception e) { return(error(l, e)); } }
new void OnDestroy() { base.OnDestroy(); if (tween != null) { tween.destroy(); } if (spriteTween != null) { spriteTween.destroy(); } }
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(); } } }