mirror of
https://github.com/Cardidi/dotween-upm-fork.git
synced 2026-02-12 01:58:47 +08:00
Stack trace is now fully logged in case of exceptions caught in callbacks thanks to safe mode
This commit is contained in:
parent
bfe4a350a0
commit
a1eedfa14e
@ -1452,7 +1452,7 @@
|
||||
</member>
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DOSmoothRewind(UnityEngine.Component)">
|
||||
<summary>
|
||||
Smoothly eewinds all tweens that have this target as a reference
|
||||
Smoothly rewinds 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 rewinded.
|
||||
</summary>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@ -1452,7 +1452,7 @@
|
||||
</member>
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DOSmoothRewind(UnityEngine.Component)">
|
||||
<summary>
|
||||
Smoothly eewinds all tweens that have this target as a reference
|
||||
Smoothly rewinds 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 rewinded.
|
||||
</summary>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@ -1452,7 +1452,7 @@
|
||||
</member>
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DOSmoothRewind(UnityEngine.Component)">
|
||||
<summary>
|
||||
Smoothly eewinds all tweens that have this target as a reference
|
||||
Smoothly rewinds 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 rewinded.
|
||||
</summary>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Reflection;
|
||||
@ -9,6 +9,7 @@ using UnityEngine.UI;
|
||||
|
||||
public class TempTests : MonoBehaviour
|
||||
{
|
||||
public Transform t;
|
||||
Sequence sequence;
|
||||
|
||||
void Start()
|
||||
@ -19,6 +20,8 @@ public class TempTests : MonoBehaviour
|
||||
this.transform.GetComponent<MeshRenderer>().enabled = !this.transform.GetComponent<MeshRenderer>().enabled;
|
||||
});
|
||||
|
||||
sequence.OnStart(MyCallback);
|
||||
|
||||
sequence.SetLoops(-1, LoopType.Restart);
|
||||
sequence.Play();
|
||||
}
|
||||
@ -30,4 +33,9 @@ public class TempTests : MonoBehaviour
|
||||
sequence.Kill();
|
||||
}
|
||||
}
|
||||
|
||||
void MyCallback()
|
||||
{
|
||||
t.position = Vector3.zero;
|
||||
}
|
||||
}
|
||||
@ -32,7 +32,7 @@ namespace DG.Tweening
|
||||
public class DOTween
|
||||
{
|
||||
/// <summary>DOTween's version</summary>
|
||||
public static readonly string Version = "1.0.770";
|
||||
public static readonly string Version = "1.0.775";
|
||||
|
||||
///////////////////////////////////////////////
|
||||
// Options ////////////////////////////////////
|
||||
|
||||
@ -266,7 +266,7 @@ namespace DG.Tweening
|
||||
try {
|
||||
callback();
|
||||
} catch (Exception e) {
|
||||
Debugger.LogWarning("An error inside a tween callback was silently taken care of > " + e.Message);
|
||||
Debugger.LogWarning("An error inside a tween callback was silently taken care of > " + e.Message + "\n\n" + e.StackTrace + "\n\n");
|
||||
return false; // Callback error
|
||||
}
|
||||
} else callback();
|
||||
|
||||
@ -1452,7 +1452,7 @@
|
||||
</member>
|
||||
<member name="M:DG.Tweening.ShortcutExtensions.DOSmoothRewind(UnityEngine.Component)">
|
||||
<summary>
|
||||
Smoothly eewinds all tweens that have this target as a reference
|
||||
Smoothly rewinds 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 rewinded.
|
||||
</summary>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user