1
0
mirror of https://github.com/Cardidi/dotween-upm-fork.git synced 2025-12-20 09:16:02 +08:00

[BUGFIX] Set default tween intId to -999 (otherwise using an intId of 0 was the same as filtering all)

This commit is contained in:
Demigiant 2017-12-15 13:30:43 +01:00
parent dbeab7c974
commit 19a20d6b1c
46 changed files with 12 additions and 7 deletions

View File

@ -2489,7 +2489,8 @@
<summary>String ID (usable for filtering with DOTween static methods). 2X faster than using an object id</summary> <summary>String ID (usable for filtering with DOTween static methods). 2X faster than using an object id</summary>
</member> </member>
<member name="F:DG.Tweening.Tween.intId"> <member name="F:DG.Tweening.Tween.intId">
<summary>String ID (usable for filtering with DOTween static methods). 4X faster than using an object id, 2X faster than using a string id</summary> <summary>Int ID (usable for filtering with DOTween static methods). 4X faster than using an object id, 2X faster than using a string id.
Default is -999 so avoid using an ID like that or it will capture all unset intIds</summary>
</member> </member>
<member name="F:DG.Tweening.Tween.target"> <member name="F:DG.Tweening.Tween.target">
<summary>Tween target (usable for filtering with DOTween static methods). Automatically set by tween creation shorcuts</summary> <summary>Tween target (usable for filtering with DOTween static methods). Automatically set by tween creation shorcuts</summary>

View File

@ -2489,7 +2489,8 @@
<summary>String ID (usable for filtering with DOTween static methods). 2X faster than using an object id</summary> <summary>String ID (usable for filtering with DOTween static methods). 2X faster than using an object id</summary>
</member> </member>
<member name="F:DG.Tweening.Tween.intId"> <member name="F:DG.Tweening.Tween.intId">
<summary>String ID (usable for filtering with DOTween static methods). 4X faster than using an object id, 2X faster than using a string id</summary> <summary>Int ID (usable for filtering with DOTween static methods). 4X faster than using an object id, 2X faster than using a string id.
Default is -999 so avoid using an ID like that or it will capture all unset intIds</summary>
</member> </member>
<member name="F:DG.Tweening.Tween.target"> <member name="F:DG.Tweening.Tween.target">
<summary>Tween target (usable for filtering with DOTween static methods). Automatically set by tween creation shorcuts</summary> <summary>Tween target (usable for filtering with DOTween static methods). Automatically set by tween creation shorcuts</summary>

View File

@ -2489,7 +2489,8 @@
<summary>String ID (usable for filtering with DOTween static methods). 2X faster than using an object id</summary> <summary>String ID (usable for filtering with DOTween static methods). 2X faster than using an object id</summary>
</member> </member>
<member name="F:DG.Tweening.Tween.intId"> <member name="F:DG.Tweening.Tween.intId">
<summary>String ID (usable for filtering with DOTween static methods). 4X faster than using an object id, 2X faster than using a string id</summary> <summary>Int ID (usable for filtering with DOTween static methods). 4X faster than using an object id, 2X faster than using a string id.
Default is -999 so avoid using an ID like that or it will capture all unset intIds</summary>
</member> </member>
<member name="F:DG.Tweening.Tween.target"> <member name="F:DG.Tweening.Tween.target">
<summary>Tween target (usable for filtering with DOTween static methods). Automatically set by tween creation shorcuts</summary> <summary>Tween target (usable for filtering with DOTween static methods). Automatically set by tween creation shorcuts</summary>

View File

@ -32,7 +32,7 @@ namespace DG.Tweening
public class DOTween public class DOTween
{ {
/// <summary>DOTween's version</summary> /// <summary>DOTween's version</summary>
public static readonly string Version = "1.1.685"; public static readonly string Version = "1.1.690";
/////////////////////////////////////////////// ///////////////////////////////////////////////
// Options //////////////////////////////////// // Options ////////////////////////////////////

View File

@ -28,8 +28,9 @@ namespace DG.Tweening
public object id; public object id;
/// <summary>String ID (usable for filtering with DOTween static methods). 2X faster than using an object id</summary> /// <summary>String ID (usable for filtering with DOTween static methods). 2X faster than using an object id</summary>
public string stringId; public string stringId;
/// <summary>String ID (usable for filtering with DOTween static methods). 4X faster than using an object id, 2X faster than using a string id</summary> /// <summary>Int ID (usable for filtering with DOTween static methods). 4X faster than using an object id, 2X faster than using a string id.
public int intId; /// Default is -999 so avoid using an ID like that or it will capture all unset intIds</summary>
public int intId = -999;
/// <summary>Tween target (usable for filtering with DOTween static methods). Automatically set by tween creation shorcuts</summary> /// <summary>Tween target (usable for filtering with DOTween static methods). Automatically set by tween creation shorcuts</summary>
public object target; // Automatically set by DO shortcuts using SetTarget extension. Also used during Tweener.DoStartup in some special cases public object target; // Automatically set by DO shortcuts using SetTarget extension. Also used during Tweener.DoStartup in some special cases
// Update type and eventual independence (changed via TweenManager.SetUpdateType) // Update type and eventual independence (changed via TweenManager.SetUpdateType)

View File

@ -2489,7 +2489,8 @@
<summary>String ID (usable for filtering with DOTween static methods). 2X faster than using an object id</summary> <summary>String ID (usable for filtering with DOTween static methods). 2X faster than using an object id</summary>
</member> </member>
<member name="F:DG.Tweening.Tween.intId"> <member name="F:DG.Tweening.Tween.intId">
<summary>String ID (usable for filtering with DOTween static methods). 4X faster than using an object id, 2X faster than using a string id</summary> <summary>Int ID (usable for filtering with DOTween static methods). 4X faster than using an object id, 2X faster than using a string id.
Default is -999 so avoid using an ID like that or it will capture all unset intIds</summary>
</member> </member>
<member name="F:DG.Tweening.Tween.target"> <member name="F:DG.Tweening.Tween.target">
<summary>Tween target (usable for filtering with DOTween static methods). Automatically set by tween creation shorcuts</summary> <summary>Tween target (usable for filtering with DOTween static methods). Automatically set by tween creation shorcuts</summary>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.