/// <summary> /// Restarts the tween /// </summary> /// <param name="fromHere">If TRUE, re-evaluates the tween's start and end values from its current position. /// Set it to TRUE when spawning the same DOTweenAnimation in different positions (like when using a pooling system)</param> public override void DORestart(bool fromHere = false) { _playCount = -1; if (tween == null) { //if (Debugger.logPriority > 1) Debugger.LogNullTween(tween); return; } DOTween.Restart(this.gameObject); }
/// <summary> /// Restarts the tween /// </summary> /// <param name="fromHere">If TRUE, re-evaluates the tween's start and end values from its current position. /// Set it to TRUE when spawning the same DOTweenAnimation in different positions (like when using a pooling system)</param> public override void DORestart(bool fromHere = false) { _playCount = -1; if (tween == null) { return; } if (fromHere && isRelative) { ReEvaluateRelativeTween(); } DOTween.Restart(this.gameObject); }
/// <summary> /// Restarts the tween /// </summary> /// <param name="fromHere">If TRUE, re-evaluates the tween's start and end values from its current position. /// Set it to TRUE when spawning the same DOTweenAnimation in different positions (like when using a pooling system)</param> public override void DORestart(bool fromHere = false) { _playCount = -1; if (tween == null) { Debugger.LogError("Lost Tween"); } if (fromHere && isRelative) { ReEvaluateRelativeTween(); } DOTween.Restart(this.gameObject); }
/// <summary> /// Restarts the tween /// </summary> /// <param name="fromHere">If TRUE, re-evaluates the tween's start and end values from its current position. /// Set it to TRUE when spawning the same DOTweenAnimation in different positions (like when using a pooling system)</param> public override void DORestart(bool fromHere = false) { _playCount = -1; if (tween == null) { // if (Debugger.logPriority > 1) // Debugger.LogNullTween(tween); DebugUtil.Error("tween is null"); return; } if (fromHere && isRelative) { ReEvaluateRelativeTween(); } DOTween.Restart(this.gameObject); }
/// <summary> /// Restarts all tweens whose target-id is the same as the one set by this animation /// </summary> /// <param name="fromHere">If TRUE, re-evaluates the tween's start and end values from its current position. /// Set it to TRUE when spawning the same DOTweenAnimation in different positions (like when using a pooling system)</param> public override void DORestart(bool fromHere) { _playCount = -1; if (tween == null) { if (Debugger.logPriority > 1) { Debugger.LogNullTween(tween); } return; } if (fromHere && isRelative) { ReEvaluateRelativeTween(); } DOTween.Restart(GetTweenTarget()); }
/// <summary> /// Restarts the tween /// </summary> /// <param name="fromHere">If TRUE, re-evaluates the tween's start and end values from its current position. /// Set it to TRUE when spawning the same DOTweenAnimation in different positions (like when using a pooling system)</param> public override void DORestart(bool fromHere = false) { _playCount = -1; if (tween == null) { if (DG.Tweening.Core.Debugger.logPriority > 1) { DG.Tweening.Core.Debugger.LogNullTween(tween); } return; } if (fromHere && isRelative) { ReEvaluateRelativeTween(); } DOTween.Restart(this.gameObject); }
public void DORestart(string id, bool fromHere = false) { _playCount = -1; if (tween == null) { if (Debugger.logPriority > 1) { Debugger.LogNullTween(tween); } return; } if (fromHere && isRelative) { ReEvaluateRelativeTween(); } DOTween.Restart(this.gameObject, id); }
// Token: 0x0600015E RID: 350 RVA: 0x00008254 File Offset: 0x00006654 public override void DORestart(bool fromHere = false) { this._playCount = -1; if (this.tween == null) { if (Debugger.logPriority > 1) { Debugger.LogNullTween(this.tween); } return; } if (fromHere && this.isRelative) { this.ReEvaluateRelativeTween(); } DOTween.Restart(base.gameObject, true, -1f); }
/// <summary> /// Restarts all tweens that have this target as a reference /// (meaning tweens that were started from this target, or that had this target added as an Id) /// and returns the total number of tweens restarted. /// </summary> public static int DORestart(this AudioMixer target) { return(DOTween.Restart(target)); }
/// <summary> /// Restarts all tweens with the given ID and whose target-id is the same as the one set by this animation /// </summary> public void DORestartById(string id) { _playCount = -1; DOTween.Restart(GetTweenTarget(), id); }
public void DORestartAllById(string id) { DOTween.Restart(id); }
public static int DORestart(this Component target, bool includeDelay = true) { return(DOTween.Restart(target, includeDelay)); }
public static int DORestart(this Material target, bool includeDelay = true) { return(DOTween.Restart(target, includeDelay)); }
public void DORestartById(string id) { this._playCount = -1; DOTween.Restart(base.gameObject, id, true); }
public void DORestartAllById(string id) { this._playCount = -1; DOTween.Restart(id, true); }
public void DORestartById(string id) { _playCount = -1; DOTween.Restart(this.gameObject, id); }
public void DORestartAllById(string id) { _playCount = -1; DOTween.Restart(id); }
public void DORestartById(string id) { DOTween.Restart(this.gameObject, id); }