mirror of
https://github.com/Cardidi/dotween-upm-fork.git
synced 2026-02-04 14:24:55 +08:00
Added DOTween.KillAll overload which accepts ids or targets to keep out of the killing
This commit is contained in:
parent
8ad4d4d10c
commit
e3bf095de8
@ -554,6 +554,11 @@
|
|||||||
<summary>Kills all tweens and returns the number of actual tweens killed</summary>
|
<summary>Kills all tweens and returns the number of actual tweens killed</summary>
|
||||||
<param name="complete">If TRUE completes the tweens before killing them</param>
|
<param name="complete">If TRUE completes the tweens before killing them</param>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="M:DG.Tweening.DOTween.KillAll(System.Boolean,System.Object[])">
|
||||||
|
<summary>Kills all tweens and returns the number of actual tweens killed</summary>
|
||||||
|
<param name="complete">If TRUE completes the tweens before killing them</param>
|
||||||
|
<param name="idsOrTargetsToExclude">Eventual IDs or targets to exclude from the killing</param>
|
||||||
|
</member>
|
||||||
<member name="M:DG.Tweening.DOTween.Kill(System.Object,System.Boolean)">
|
<member name="M:DG.Tweening.DOTween.Kill(System.Object,System.Boolean)">
|
||||||
<summary>Kills all tweens with the given ID or target and returns the number of actual tweens killed</summary>
|
<summary>Kills all tweens with the given ID or target and returns the number of actual tweens killed</summary>
|
||||||
<param name="complete">If TRUE completes the tweens before killing them</param>
|
<param name="complete">If TRUE completes the tweens before killing them</param>
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -4,46 +4,56 @@
|
|||||||
<name>DOTween43</name>
|
<name>DOTween43</name>
|
||||||
</assembly>
|
</assembly>
|
||||||
<members>
|
<members>
|
||||||
<member name="T:DG.Tweening.ShortcutExtensions">
|
<member name="T:DG.Tweening.ShortcutExtensions43">
|
||||||
<summary>
|
<summary>
|
||||||
Methods that extend known Unity objects and allow to directly create and control tweens from their instances.
|
Methods that extend known Unity objects and allow to directly create and control tweens from their instances.
|
||||||
These, as all DOTween43 methods, require Unity 4.3 or later.
|
These, as all DOTween43 methods, require Unity 4.3 or later.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOColor(UnityEngine.SpriteRenderer,UnityEngine.Color,System.Single)">
|
<member name="M:DG.Tweening.ShortcutExtensions43.DOColor(UnityEngine.SpriteRenderer,UnityEngine.Color,System.Single)">
|
||||||
<summary>Tweens a SpriteRenderer's color to the given value.
|
<summary>Tweens a SpriteRenderer's color to the given value.
|
||||||
Also stores the spriteRenderer as the tween's target so it can be used for filtered operations</summary>
|
Also stores the spriteRenderer as the tween's target so it can be used for filtered operations</summary>
|
||||||
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOFade(UnityEngine.SpriteRenderer,System.Single,System.Single)">
|
<member name="M:DG.Tweening.ShortcutExtensions43.DOFade(UnityEngine.SpriteRenderer,System.Single,System.Single)">
|
||||||
<summary>Tweens a Material's alpha color to the given value.
|
<summary>Tweens a Material's alpha color to the given value.
|
||||||
Also stores the spriteRenderer as the tween's target so it can be used for filtered operations</summary>
|
Also stores the spriteRenderer as the tween's target so it can be used for filtered operations</summary>
|
||||||
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOMove(UnityEngine.Rigidbody2D,UnityEngine.Vector2,System.Single,System.Boolean)">
|
<member name="M:DG.Tweening.ShortcutExtensions43.DOMove(UnityEngine.Rigidbody2D,UnityEngine.Vector2,System.Single,System.Boolean)">
|
||||||
<summary>Tweens a Rigidbody2D's position to the given value.
|
<summary>Tweens a Rigidbody2D's position to the given value.
|
||||||
Also stores the Rigidbody2D as the tween's target so it can be used for filtered operations</summary>
|
Also stores the Rigidbody2D as the tween's target so it can be used for filtered operations</summary>
|
||||||
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOMoveX(UnityEngine.Rigidbody2D,System.Single,System.Single,System.Boolean)">
|
<member name="M:DG.Tweening.ShortcutExtensions43.DOMoveX(UnityEngine.Rigidbody2D,System.Single,System.Single,System.Boolean)">
|
||||||
<summary>Tweens a Rigidbody2D's X position to the given value.
|
<summary>Tweens a Rigidbody2D's X position to the given value.
|
||||||
Also stores the Rigidbody2D as the tween's target so it can be used for filtered operations</summary>
|
Also stores the Rigidbody2D as the tween's target so it can be used for filtered operations</summary>
|
||||||
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOMoveY(UnityEngine.Rigidbody2D,System.Single,System.Single,System.Boolean)">
|
<member name="M:DG.Tweening.ShortcutExtensions43.DOMoveY(UnityEngine.Rigidbody2D,System.Single,System.Single,System.Boolean)">
|
||||||
<summary>Tweens a Rigidbody2D's Y position to the given value.
|
<summary>Tweens a Rigidbody2D's Y position to the given value.
|
||||||
Also stores the Rigidbody2D as the tween's target so it can be used for filtered operations</summary>
|
Also stores the Rigidbody2D as the tween's target so it can be used for filtered operations</summary>
|
||||||
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DORotate(UnityEngine.Rigidbody2D,System.Single,System.Single)">
|
<member name="M:DG.Tweening.ShortcutExtensions43.DORotate(UnityEngine.Rigidbody2D,System.Single,System.Single)">
|
||||||
<summary>Tweens a Rigidbody2D's rotation to the given value.
|
<summary>Tweens a Rigidbody2D's rotation to the given value.
|
||||||
Also stores the Rigidbody2D as the tween's target so it can be used for filtered operations</summary>
|
Also stores the Rigidbody2D as the tween's target so it can be used for filtered operations</summary>
|
||||||
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOBlendableColor(UnityEngine.SpriteRenderer,UnityEngine.Color,System.Single)">
|
<member name="M:DG.Tweening.ShortcutExtensions43.DOJump(UnityEngine.Rigidbody2D,UnityEngine.Vector2,System.Single,System.Int32,System.Single,System.Boolean)">
|
||||||
|
<summary>Tweens a Rigidbody2D's position to the given value, while also applying a jump effect along the Y axis.
|
||||||
|
Returns a Sequence instead of a Tweener.
|
||||||
|
Also stores the Rigidbody2D as the tween's target so it can be used for filtered operations</summary>
|
||||||
|
<param name="endValue">The end value to reach</param>
|
||||||
|
<param name="jumpPower">Power of the jump (the max height of the jump is represented by this plus the final Y offset)</param>
|
||||||
|
<param name="numJumps">Total number of jumps</param>
|
||||||
|
<param name="duration">The duration of the tween</param>
|
||||||
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:DG.Tweening.ShortcutExtensions43.DOBlendableColor(UnityEngine.SpriteRenderer,UnityEngine.Color,System.Single)">
|
||||||
<summary>Tweens a SpriteRenderer's color to the given value,
|
<summary>Tweens a SpriteRenderer's color to the given value,
|
||||||
in a way that allows other DOBlendableColor tweens to work together on the same target,
|
in a way that allows other DOBlendableColor tweens to work together on the same target,
|
||||||
instead than fight each other as multiple DOColor would do.
|
instead than fight each other as multiple DOColor would do.
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
BIN
UnityExamples.Unity5/Assets/Demigiant/DOTween/DOTween46.pdb
Normal file
BIN
UnityExamples.Unity5/Assets/Demigiant/DOTween/DOTween46.pdb
Normal file
Binary file not shown.
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: f8ed16847182ba54a87976a09be8767b
|
||||||
|
timeCreated: 1441704883
|
||||||
|
licenseType: Free
|
||||||
|
DefaultImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@ -4,94 +4,117 @@
|
|||||||
<name>DOTween46</name>
|
<name>DOTween46</name>
|
||||||
</assembly>
|
</assembly>
|
||||||
<members>
|
<members>
|
||||||
<member name="T:DG.Tweening.ShortcutExtensions">
|
<member name="T:DG.Tweening.DOTweenUtils46">
|
||||||
|
<summary>
|
||||||
|
Various utils that require Unity 4.6 or later
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:DG.Tweening.DOTweenUtils46.SwitchToRectTransform(UnityEngine.RectTransform,UnityEngine.RectTransform)">
|
||||||
|
<summary>
|
||||||
|
Converts the anchoredPosition of the first RectTransform to the second RectTransform,
|
||||||
|
taking into consideration offset, anchors and pivot, and returns the new anchoredPosition
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="T:DG.Tweening.ShortcutExtensions46">
|
||||||
<summary>
|
<summary>
|
||||||
Methods that extend known Unity objects and allow to directly create and control tweens from their instances.
|
Methods that extend known Unity objects and allow to directly create and control tweens from their instances.
|
||||||
These, as all DOTween46 methods, require Unity 4.6 or later.
|
These, as all DOTween46 methods, require Unity 4.6 or later.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOFade(UnityEngine.CanvasGroup,System.Single,System.Single)">
|
<member name="M:DG.Tweening.ShortcutExtensions46.DOFade(UnityEngine.CanvasGroup,System.Single,System.Single)">
|
||||||
<summary>Tweens a CanvasGroup's alpha color to the given value.
|
<summary>Tweens a CanvasGroup's alpha color to the given value.
|
||||||
Also stores the canvasGroup as the tween's target so it can be used for filtered operations</summary>
|
Also stores the canvasGroup as the tween's target so it can be used for filtered operations</summary>
|
||||||
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOColor(UnityEngine.UI.Graphic,UnityEngine.Color,System.Single)">
|
<member name="M:DG.Tweening.ShortcutExtensions46.DOColor(UnityEngine.UI.Graphic,UnityEngine.Color,System.Single)">
|
||||||
<summary>Tweens an Graphic's color to the given value.
|
<summary>Tweens an Graphic's color to the given value.
|
||||||
Also stores the image as the tween's target so it can be used for filtered operations</summary>
|
Also stores the image as the tween's target so it can be used for filtered operations</summary>
|
||||||
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOFade(UnityEngine.UI.Graphic,System.Single,System.Single)">
|
<member name="M:DG.Tweening.ShortcutExtensions46.DOFade(UnityEngine.UI.Graphic,System.Single,System.Single)">
|
||||||
<summary>Tweens an Graphic's alpha color to the given value.
|
<summary>Tweens an Graphic's alpha color to the given value.
|
||||||
Also stores the image as the tween's target so it can be used for filtered operations</summary>
|
Also stores the image as the tween's target so it can be used for filtered operations</summary>
|
||||||
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOColor(UnityEngine.UI.Image,UnityEngine.Color,System.Single)">
|
<member name="M:DG.Tweening.ShortcutExtensions46.DOColor(UnityEngine.UI.Image,UnityEngine.Color,System.Single)">
|
||||||
<summary>Tweens an Image's color to the given value.
|
<summary>Tweens an Image's color to the given value.
|
||||||
Also stores the image as the tween's target so it can be used for filtered operations</summary>
|
Also stores the image as the tween's target so it can be used for filtered operations</summary>
|
||||||
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOFade(UnityEngine.UI.Image,System.Single,System.Single)">
|
<member name="M:DG.Tweening.ShortcutExtensions46.DOFade(UnityEngine.UI.Image,System.Single,System.Single)">
|
||||||
<summary>Tweens an Image's alpha color to the given value.
|
<summary>Tweens an Image's alpha color to the given value.
|
||||||
Also stores the image as the tween's target so it can be used for filtered operations</summary>
|
Also stores the image as the tween's target so it can be used for filtered operations</summary>
|
||||||
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOFillAmount(UnityEngine.UI.Image,System.Single,System.Single)">
|
<member name="M:DG.Tweening.ShortcutExtensions46.DOFillAmount(UnityEngine.UI.Image,System.Single,System.Single)">
|
||||||
<summary>Tweens an Image's fillAmount to the given value.
|
<summary>Tweens an Image's fillAmount to the given value.
|
||||||
Also stores the image as the tween's target so it can be used for filtered operations</summary>
|
Also stores the image as the tween's target so it can be used for filtered operations</summary>
|
||||||
<param name="endValue">The end value to reach (0 to 1)</param><param name="duration">The duration of the tween</param>
|
<param name="endValue">The end value to reach (0 to 1)</param><param name="duration">The duration of the tween</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOFlexibleSize(UnityEngine.UI.LayoutElement,UnityEngine.Vector2,System.Single,System.Boolean)">
|
<member name="M:DG.Tweening.ShortcutExtensions46.DOFlexibleSize(UnityEngine.UI.LayoutElement,UnityEngine.Vector2,System.Single,System.Boolean)">
|
||||||
<summary>Tweens an LayoutElement's flexibleWidth/Height to the given value.
|
<summary>Tweens an LayoutElement's flexibleWidth/Height to the given value.
|
||||||
Also stores the LayoutElement as the tween's target so it can be used for filtered operations</summary>
|
Also stores the LayoutElement as the tween's target so it can be used for filtered operations</summary>
|
||||||
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOMinSize(UnityEngine.UI.LayoutElement,UnityEngine.Vector2,System.Single,System.Boolean)">
|
<member name="M:DG.Tweening.ShortcutExtensions46.DOMinSize(UnityEngine.UI.LayoutElement,UnityEngine.Vector2,System.Single,System.Boolean)">
|
||||||
<summary>Tweens an LayoutElement's minWidth/Height to the given value.
|
<summary>Tweens an LayoutElement's minWidth/Height to the given value.
|
||||||
Also stores the LayoutElement as the tween's target so it can be used for filtered operations</summary>
|
Also stores the LayoutElement as the tween's target so it can be used for filtered operations</summary>
|
||||||
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOPreferredSize(UnityEngine.UI.LayoutElement,UnityEngine.Vector2,System.Single,System.Boolean)">
|
<member name="M:DG.Tweening.ShortcutExtensions46.DOPreferredSize(UnityEngine.UI.LayoutElement,UnityEngine.Vector2,System.Single,System.Boolean)">
|
||||||
<summary>Tweens an LayoutElement's preferredWidth/Height to the given value.
|
<summary>Tweens an LayoutElement's preferredWidth/Height to the given value.
|
||||||
Also stores the LayoutElement as the tween's target so it can be used for filtered operations</summary>
|
Also stores the LayoutElement as the tween's target so it can be used for filtered operations</summary>
|
||||||
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOColor(UnityEngine.UI.Outline,UnityEngine.Color,System.Single)">
|
<member name="M:DG.Tweening.ShortcutExtensions46.DOColor(UnityEngine.UI.Outline,UnityEngine.Color,System.Single)">
|
||||||
<summary>Tweens a Outline's effectColor to the given value.
|
<summary>Tweens a Outline's effectColor to the given value.
|
||||||
Also stores the Outline as the tween's target so it can be used for filtered operations</summary>
|
Also stores the Outline as the tween's target so it can be used for filtered operations</summary>
|
||||||
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOFade(UnityEngine.UI.Outline,System.Single,System.Single)">
|
<member name="M:DG.Tweening.ShortcutExtensions46.DOFade(UnityEngine.UI.Outline,System.Single,System.Single)">
|
||||||
<summary>Tweens a Outline's effectColor alpha to the given value.
|
<summary>Tweens a Outline's effectColor alpha to the given value.
|
||||||
Also stores the Outline as the tween's target so it can be used for filtered operations</summary>
|
Also stores the Outline as the tween's target so it can be used for filtered operations</summary>
|
||||||
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOScale(UnityEngine.UI.Outline,UnityEngine.Vector2,System.Single)">
|
<member name="M:DG.Tweening.ShortcutExtensions46.DOScale(UnityEngine.UI.Outline,UnityEngine.Vector2,System.Single)">
|
||||||
<summary>Tweens a Outline's effectDistance to the given value.
|
<summary>Tweens a Outline's effectDistance to the given value.
|
||||||
Also stores the Outline as the tween's target so it can be used for filtered operations</summary>
|
Also stores the Outline as the tween's target so it can be used for filtered operations</summary>
|
||||||
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOAnchorPos(UnityEngine.RectTransform,UnityEngine.Vector2,System.Single,System.Boolean)">
|
<member name="M:DG.Tweening.ShortcutExtensions46.DOAnchorPos(UnityEngine.RectTransform,UnityEngine.Vector2,System.Single,System.Boolean)">
|
||||||
<summary>Tweens a RectTransform's anchoredPosition to the given value.
|
<summary>Tweens a RectTransform's anchoredPosition to the given value.
|
||||||
Also stores the RectTransform as the tween's target so it can be used for filtered operations</summary>
|
Also stores the RectTransform as the tween's target so it can be used for filtered operations</summary>
|
||||||
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOAnchorPos3D(UnityEngine.RectTransform,UnityEngine.Vector3,System.Single,System.Boolean)">
|
<member name="M:DG.Tweening.ShortcutExtensions46.DOAnchorPos3D(UnityEngine.RectTransform,UnityEngine.Vector3,System.Single,System.Boolean)">
|
||||||
<summary>Tweens a RectTransform's anchoredPosition3D to the given value.
|
<summary>Tweens a RectTransform's anchoredPosition3D to the given value.
|
||||||
Also stores the RectTransform as the tween's target so it can be used for filtered operations</summary>
|
Also stores the RectTransform as the tween's target so it can be used for filtered operations</summary>
|
||||||
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOSizeDelta(UnityEngine.RectTransform,UnityEngine.Vector2,System.Single,System.Boolean)">
|
<member name="M:DG.Tweening.ShortcutExtensions46.DOSizeDelta(UnityEngine.RectTransform,UnityEngine.Vector2,System.Single,System.Boolean)">
|
||||||
<summary>Tweens a RectTransform's sizeDelta to the given value.
|
<summary>Tweens a RectTransform's sizeDelta to the given value.
|
||||||
Also stores the RectTransform as the tween's target so it can be used for filtered operations</summary>
|
Also stores the RectTransform as the tween's target so it can be used for filtered operations</summary>
|
||||||
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOShakeAnchorPos(UnityEngine.RectTransform,System.Single,System.Single,System.Int32,System.Single,System.Boolean)">
|
<member name="M:DG.Tweening.ShortcutExtensions46.DOPunchAnchorPos(UnityEngine.RectTransform,UnityEngine.Vector2,System.Single,System.Int32,System.Single,System.Boolean)">
|
||||||
|
<summary>Punches a RectTransform's anchoredPosition towards the given direction and then back to the starting one
|
||||||
|
as if it was connected to the starting position via an elastic.
|
||||||
|
Also stores the RectTransform as the tween's target so it can be used for filtered operations</summary>
|
||||||
|
<param name="punch">The direction and strength of the punch (added to the RectTransform's current position)</param>
|
||||||
|
<param name="duration">The duration of the tween</param>
|
||||||
|
<param name="vibrato">Indicates how much will the punch vibrate</param>
|
||||||
|
<param name="elasticity">Represents how much (0 to 1) the vector will go beyond the starting position when bouncing backwards.
|
||||||
|
1 creates a full oscillation between the punch direction and the opposite direction,
|
||||||
|
while 0 oscillates only between the punch and the start position</param>
|
||||||
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:DG.Tweening.ShortcutExtensions46.DOShakeAnchorPos(UnityEngine.RectTransform,System.Single,System.Single,System.Int32,System.Single,System.Boolean)">
|
||||||
<summary>Shakes a RectTransform's anchoredPosition with the given values.
|
<summary>Shakes a RectTransform's anchoredPosition with the given values.
|
||||||
Also stores the RectTransform as the tween's target so it can be used for filtered operations</summary>
|
Also stores the RectTransform as the tween's target so it can be used for filtered operations</summary>
|
||||||
<param name="duration">The duration of the tween</param>
|
<param name="duration">The duration of the tween</param>
|
||||||
@ -101,7 +124,7 @@
|
|||||||
Setting it to 0 will shake along a single direction.</param>
|
Setting it to 0 will shake along a single direction.</param>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOShakeAnchorPos(UnityEngine.RectTransform,System.Single,UnityEngine.Vector2,System.Int32,System.Single,System.Boolean)">
|
<member name="M:DG.Tweening.ShortcutExtensions46.DOShakeAnchorPos(UnityEngine.RectTransform,System.Single,UnityEngine.Vector2,System.Int32,System.Single,System.Boolean)">
|
||||||
<summary>Shakes a RectTransform's anchoredPosition with the given values.
|
<summary>Shakes a RectTransform's anchoredPosition with the given values.
|
||||||
Also stores the RectTransform as the tween's target so it can be used for filtered operations</summary>
|
Also stores the RectTransform as the tween's target so it can be used for filtered operations</summary>
|
||||||
<param name="duration">The duration of the tween</param>
|
<param name="duration">The duration of the tween</param>
|
||||||
@ -111,23 +134,33 @@
|
|||||||
Setting it to 0 will shake along a single direction.</param>
|
Setting it to 0 will shake along a single direction.</param>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOValue(UnityEngine.UI.Slider,System.Single,System.Single,System.Boolean)">
|
<member name="M:DG.Tweening.ShortcutExtensions46.DOJumpAnchorPos(UnityEngine.RectTransform,UnityEngine.Vector2,System.Single,System.Int32,System.Single,System.Boolean)">
|
||||||
|
<summary>Tweens a RectTransform's anchoredPosition to the given value, while also applying a jump effect along the Y axis.
|
||||||
|
Returns a Sequence instead of a Tweener.
|
||||||
|
Also stores the RectTransform as the tween's target so it can be used for filtered operations</summary>
|
||||||
|
<param name="endValue">The end value to reach</param>
|
||||||
|
<param name="jumpPower">Power of the jump (the max height of the jump is represented by this plus the final Y offset)</param>
|
||||||
|
<param name="numJumps">Total number of jumps</param>
|
||||||
|
<param name="duration">The duration of the tween</param>
|
||||||
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:DG.Tweening.ShortcutExtensions46.DOValue(UnityEngine.UI.Slider,System.Single,System.Single,System.Boolean)">
|
||||||
<summary>Tweens a Slider's value to the given value.
|
<summary>Tweens a Slider's value to the given value.
|
||||||
Also stores the Slider as the tween's target so it can be used for filtered operations</summary>
|
Also stores the Slider as the tween's target so it can be used for filtered operations</summary>
|
||||||
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOColor(UnityEngine.UI.Text,UnityEngine.Color,System.Single)">
|
<member name="M:DG.Tweening.ShortcutExtensions46.DOColor(UnityEngine.UI.Text,UnityEngine.Color,System.Single)">
|
||||||
<summary>Tweens a Text's color to the given value.
|
<summary>Tweens a Text's color to the given value.
|
||||||
Also stores the Text as the tween's target so it can be used for filtered operations</summary>
|
Also stores the Text as the tween's target so it can be used for filtered operations</summary>
|
||||||
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOFade(UnityEngine.UI.Text,System.Single,System.Single)">
|
<member name="M:DG.Tweening.ShortcutExtensions46.DOFade(UnityEngine.UI.Text,System.Single,System.Single)">
|
||||||
<summary>Tweens a Text's alpha color to the given value.
|
<summary>Tweens a Text's alpha color to the given value.
|
||||||
Also stores the Text as the tween's target so it can be used for filtered operations</summary>
|
Also stores the Text as the tween's target so it can be used for filtered operations</summary>
|
||||||
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOText(UnityEngine.UI.Text,System.String,System.Single,System.Boolean,DG.Tweening.ScrambleMode,System.String)">
|
<member name="M:DG.Tweening.ShortcutExtensions46.DOText(UnityEngine.UI.Text,System.String,System.Single,System.Boolean,DG.Tweening.ScrambleMode,System.String)">
|
||||||
<summary>Tweens a Text's text to the given value.
|
<summary>Tweens a Text's text to the given value.
|
||||||
Also stores the Text as the tween's target so it can be used for filtered operations</summary>
|
Also stores the Text as the tween's target so it can be used for filtered operations</summary>
|
||||||
<param name="endValue">The end string to tween to</param><param name="duration">The duration of the tween</param>
|
<param name="endValue">The end string to tween to</param><param name="duration">The duration of the tween</param>
|
||||||
@ -138,21 +171,21 @@
|
|||||||
Use as many characters as possible (minimum 10) because DOTween uses a fast scramble mode which gives better results with more characters.
|
Use as many characters as possible (minimum 10) because DOTween uses a fast scramble mode which gives better results with more characters.
|
||||||
Leave it to NULL (default) to use default ones</param>
|
Leave it to NULL (default) to use default ones</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOBlendableColor(UnityEngine.UI.Graphic,UnityEngine.Color,System.Single)">
|
<member name="M:DG.Tweening.ShortcutExtensions46.DOBlendableColor(UnityEngine.UI.Graphic,UnityEngine.Color,System.Single)">
|
||||||
<summary>Tweens a Graphic's color to the given value,
|
<summary>Tweens a Graphic's color to the given value,
|
||||||
in a way that allows other DOBlendableColor tweens to work together on the same target,
|
in a way that allows other DOBlendableColor tweens to work together on the same target,
|
||||||
instead than fight each other as multiple DOColor would do.
|
instead than fight each other as multiple DOColor would do.
|
||||||
Also stores the Graphic as the tween's target so it can be used for filtered operations</summary>
|
Also stores the Graphic as the tween's target so it can be used for filtered operations</summary>
|
||||||
<param name="endValue">The value to tween to</param><param name="duration">The duration of the tween</param>
|
<param name="endValue">The value to tween to</param><param name="duration">The duration of the tween</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOBlendableColor(UnityEngine.UI.Image,UnityEngine.Color,System.Single)">
|
<member name="M:DG.Tweening.ShortcutExtensions46.DOBlendableColor(UnityEngine.UI.Image,UnityEngine.Color,System.Single)">
|
||||||
<summary>Tweens a Image's color to the given value,
|
<summary>Tweens a Image's color to the given value,
|
||||||
in a way that allows other DOBlendableColor tweens to work together on the same target,
|
in a way that allows other DOBlendableColor tweens to work together on the same target,
|
||||||
instead than fight each other as multiple DOColor would do.
|
instead than fight each other as multiple DOColor would do.
|
||||||
Also stores the Image as the tween's target so it can be used for filtered operations</summary>
|
Also stores the Image as the tween's target so it can be used for filtered operations</summary>
|
||||||
<param name="endValue">The value to tween to</param><param name="duration">The duration of the tween</param>
|
<param name="endValue">The value to tween to</param><param name="duration">The duration of the tween</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOBlendableColor(UnityEngine.UI.Text,UnityEngine.Color,System.Single)">
|
<member name="M:DG.Tweening.ShortcutExtensions46.DOBlendableColor(UnityEngine.UI.Text,UnityEngine.Color,System.Single)">
|
||||||
<summary>Tweens a Text's color BY the given value,
|
<summary>Tweens a Text's color BY the given value,
|
||||||
in a way that allows other DOBlendableColor tweens to work together on the same target,
|
in a way that allows other DOBlendableColor tweens to work together on the same target,
|
||||||
instead than fight each other as multiple DOColor would do.
|
instead than fight each other as multiple DOColor would do.
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@ -4,28 +4,30 @@
|
|||||||
<name>DOTween50</name>
|
<name>DOTween50</name>
|
||||||
</assembly>
|
</assembly>
|
||||||
<members>
|
<members>
|
||||||
<member name="T:DG.Tweening.ShortcutExtensions">
|
<member name="T:DG.Tweening.ShortcutExtensions50">
|
||||||
<summary>
|
<summary>
|
||||||
Methods that extend known Unity objects and allow to directly create and control tweens from their instances.
|
Methods that extend known Unity objects and allow to directly create and control tweens from their instances.
|
||||||
These, as all DOTween50 methods, require Unity 5.0 or later.
|
These, as all DOTween50 methods, require Unity 5.0 or later.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOSetFloat(UnityEngine.Audio.AudioMixer,System.String,System.Single,System.Single)">
|
<member name="M:DG.Tweening.ShortcutExtensions50.DOSetFloat(UnityEngine.Audio.AudioMixer,System.String,System.Single,System.Single)">
|
||||||
<summary>Tweens an AudioMixer's exposed float to the given value.
|
<summary>Tweens an AudioMixer's exposed float to the given value.
|
||||||
Also stores the AudioMixer as the tween's target so it can be used for filtered operations.
|
Also stores the AudioMixer as the tween's target so it can be used for filtered operations.
|
||||||
Note that you need to manually expose a float in an AudioMixerGroup in order to be able to tween it from an AudioMixer.</summary>
|
Note that you need to manually expose a float in an AudioMixerGroup in order to be able to tween it from an AudioMixer.</summary>
|
||||||
<param name="floatName">Name given to the exposed float to set</param>
|
<param name="floatName">Name given to the exposed float to set</param>
|
||||||
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOComplete(UnityEngine.Audio.AudioMixer)">
|
<member name="M:DG.Tweening.ShortcutExtensions50.DOComplete(UnityEngine.Audio.AudioMixer,System.Boolean)">
|
||||||
<summary>
|
<summary>
|
||||||
Completes all tweens that have this target as a reference
|
Completes 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)
|
(meaning tweens that were started from this target, or that had this target added as an Id)
|
||||||
and returns the total number of tweens completed
|
and returns the total number of tweens completed
|
||||||
(meaning the tweens that don't have infinite loops and were not already complete)
|
(meaning the tweens that don't have infinite loops and were not already complete)
|
||||||
</summary>
|
</summary>
|
||||||
|
<param name="withCallbacks">For Sequences only: if TRUE also internal Sequence callbacks will be fired,
|
||||||
|
otherwise they will be ignored</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOKill(UnityEngine.Audio.AudioMixer,System.Boolean)">
|
<member name="M:DG.Tweening.ShortcutExtensions50.DOKill(UnityEngine.Audio.AudioMixer,System.Boolean)">
|
||||||
<summary>
|
<summary>
|
||||||
Kills all tweens that have this target as a reference
|
Kills 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)
|
(meaning tweens that were started from this target, or that had this target added as an Id)
|
||||||
@ -33,14 +35,14 @@
|
|||||||
</summary>
|
</summary>
|
||||||
<param name="complete">If TRUE completes the tween before killing it</param>
|
<param name="complete">If TRUE completes the tween before killing it</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOFlip(UnityEngine.Audio.AudioMixer)">
|
<member name="M:DG.Tweening.ShortcutExtensions50.DOFlip(UnityEngine.Audio.AudioMixer)">
|
||||||
<summary>
|
<summary>
|
||||||
Flips the direction (backwards if it was going forward or viceversa) of all tweens that have this target as a reference
|
Flips the direction (backwards if it was going forward or viceversa) of 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)
|
(meaning tweens that were started from this target, or that had this target added as an Id)
|
||||||
and returns the total number of tweens flipped.
|
and returns the total number of tweens flipped.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOGoto(UnityEngine.Audio.AudioMixer,System.Single,System.Boolean)">
|
<member name="M:DG.Tweening.ShortcutExtensions50.DOGoto(UnityEngine.Audio.AudioMixer,System.Single,System.Boolean)">
|
||||||
<summary>
|
<summary>
|
||||||
Sends to the given position all tweens that have this target as a reference
|
Sends to the given position 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)
|
(meaning tweens that were started from this target, or that had this target added as an Id)
|
||||||
@ -50,49 +52,56 @@
|
|||||||
(if higher than the whole tween duration the tween will simply reach its end)</param>
|
(if higher than the whole tween duration the tween will simply reach its end)</param>
|
||||||
<param name="andPlay">If TRUE will play the tween after reaching the given position, otherwise it will pause it</param>
|
<param name="andPlay">If TRUE will play the tween after reaching the given position, otherwise it will pause it</param>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOPause(UnityEngine.Audio.AudioMixer)">
|
<member name="M:DG.Tweening.ShortcutExtensions50.DOPause(UnityEngine.Audio.AudioMixer)">
|
||||||
<summary>
|
<summary>
|
||||||
Pauses all tweens that have this target as a reference
|
Pauses 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)
|
(meaning tweens that were started from this target, or that had this target added as an Id)
|
||||||
and returns the total number of tweens paused.
|
and returns the total number of tweens paused.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOPlay(UnityEngine.Audio.AudioMixer)">
|
<member name="M:DG.Tweening.ShortcutExtensions50.DOPlay(UnityEngine.Audio.AudioMixer)">
|
||||||
<summary>
|
<summary>
|
||||||
Plays all tweens that have this target as a reference
|
Plays 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)
|
(meaning tweens that were started from this target, or that had this target added as an Id)
|
||||||
and returns the total number of tweens played.
|
and returns the total number of tweens played.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOPlayBackwards(UnityEngine.Audio.AudioMixer)">
|
<member name="M:DG.Tweening.ShortcutExtensions50.DOPlayBackwards(UnityEngine.Audio.AudioMixer)">
|
||||||
<summary>
|
<summary>
|
||||||
Plays backwards all tweens that have this target as a reference
|
Plays backwards 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)
|
(meaning tweens that were started from this target, or that had this target added as an Id)
|
||||||
and returns the total number of tweens played.
|
and returns the total number of tweens played.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOPlayForward(UnityEngine.Audio.AudioMixer)">
|
<member name="M:DG.Tweening.ShortcutExtensions50.DOPlayForward(UnityEngine.Audio.AudioMixer)">
|
||||||
<summary>
|
<summary>
|
||||||
Plays forward all tweens that have this target as a reference
|
Plays forward 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)
|
(meaning tweens that were started from this target, or that had this target added as an Id)
|
||||||
and returns the total number of tweens played.
|
and returns the total number of tweens played.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DORestart(UnityEngine.Audio.AudioMixer)">
|
<member name="M:DG.Tweening.ShortcutExtensions50.DORestart(UnityEngine.Audio.AudioMixer)">
|
||||||
<summary>
|
<summary>
|
||||||
Restarts all tweens that have this target as a reference
|
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)
|
(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.
|
and returns the total number of tweens restarted.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DORewind(UnityEngine.Audio.AudioMixer)">
|
<member name="M:DG.Tweening.ShortcutExtensions50.DORewind(UnityEngine.Audio.AudioMixer)">
|
||||||
<summary>
|
<summary>
|
||||||
Rewinds all tweens that have this target as a reference
|
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)
|
(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.
|
and returns the total number of tweens rewinded.
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOTogglePause(UnityEngine.Audio.AudioMixer)">
|
<member name="M:DG.Tweening.ShortcutExtensions50.DOSmoothRewind(UnityEngine.Audio.AudioMixer)">
|
||||||
|
<summary>
|
||||||
|
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>
|
||||||
|
</member>
|
||||||
|
<member name="M:DG.Tweening.ShortcutExtensions50.DOTogglePause(UnityEngine.Audio.AudioMixer)">
|
||||||
<summary>
|
<summary>
|
||||||
Toggles the paused state (plays if it was paused, pauses if it was playing) of all tweens that have this target as a reference
|
Toggles the paused state (plays if it was paused, pauses if it was playing) of 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)
|
(meaning tweens that were started from this target, or that had this target added as an Id)
|
||||||
|
|||||||
@ -4,17 +4,6 @@
|
|||||||
<name>DOTweenEditor</name>
|
<name>DOTweenEditor</name>
|
||||||
</assembly>
|
</assembly>
|
||||||
<members>
|
<members>
|
||||||
<member name="T:DG.DOTweenEditor.DOTweenSetupMenuItem">
|
|
||||||
<summary>
|
|
||||||
Not used as menu item anymore, but as a utiity function
|
|
||||||
</summary>
|
|
||||||
</member>
|
|
||||||
<member name="M:DG.DOTweenEditor.DOTweenSetupMenuItem.Setup(System.Boolean)">
|
|
||||||
<summary>
|
|
||||||
Setups DOTween
|
|
||||||
</summary>
|
|
||||||
<param name="partiallySilent">If TRUE, no warning window appears in case there is no need for setup</param>
|
|
||||||
</member>
|
|
||||||
<member name="M:DG.DOTweenEditor.Core.EditorUtils.SetEditorTexture(UnityEngine.Texture2D,UnityEngine.FilterMode,System.Int32)">
|
<member name="M:DG.DOTweenEditor.Core.EditorUtils.SetEditorTexture(UnityEngine.Texture2D,UnityEngine.FilterMode,System.Int32)">
|
||||||
<summary>
|
<summary>
|
||||||
Checks that the given editor texture use the correct import settings,
|
Checks that the given editor texture use the correct import settings,
|
||||||
@ -61,5 +50,16 @@
|
|||||||
Full path for the given loaded assembly, assembly file included
|
Full path for the given loaded assembly, assembly file included
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="T:DG.DOTweenEditor.DOTweenSetupMenuItem">
|
||||||
|
<summary>
|
||||||
|
Not used as menu item anymore, but as a utiity function
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:DG.DOTweenEditor.DOTweenSetupMenuItem.Setup(System.Boolean)">
|
||||||
|
<summary>
|
||||||
|
Setups DOTween
|
||||||
|
</summary>
|
||||||
|
<param name="partiallySilent">If TRUE, no warning window appears in case there is no need for setup</param>
|
||||||
|
</member>
|
||||||
</members>
|
</members>
|
||||||
</doc>
|
</doc>
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 13f42001f5d426c42a8e0090738096d0
|
||||||
|
timeCreated: 1441704883
|
||||||
|
licenseType: Free
|
||||||
|
DefaultImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
30
UnityExamples.Unity5/Assets/Example Assets/DragTarget.cs
Normal file
30
UnityExamples.Unity5/Assets/Example Assets/DragTarget.cs
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
using UnityEngine;
|
||||||
|
using System.Collections;
|
||||||
|
|
||||||
|
public class DragTarget : MonoBehaviour
|
||||||
|
{
|
||||||
|
Transform t;
|
||||||
|
Camera mainCam;
|
||||||
|
Vector3 offset;
|
||||||
|
|
||||||
|
void Start()
|
||||||
|
{
|
||||||
|
t = this.transform;
|
||||||
|
mainCam = Camera.main;
|
||||||
|
}
|
||||||
|
|
||||||
|
void OnMouseDown()
|
||||||
|
{
|
||||||
|
Vector2 mousePos = Input.mousePosition;
|
||||||
|
float distance = mainCam.WorldToScreenPoint(t.position).z;
|
||||||
|
Vector3 worldPos = mainCam.ScreenToWorldPoint(new Vector3(mousePos.x, mousePos.y, distance));
|
||||||
|
offset = t.position - worldPos;
|
||||||
|
}
|
||||||
|
|
||||||
|
void OnMouseDrag()
|
||||||
|
{
|
||||||
|
Vector2 mousePos = Input.mousePosition;
|
||||||
|
float distance = mainCam.WorldToScreenPoint(t.position).z;
|
||||||
|
t.position = mainCam.ScreenToWorldPoint(new Vector3(mousePos.x, mousePos.y, distance)) + offset;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,12 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 826ef45ee77045f41ae79b7caaff88c4
|
||||||
|
timeCreated: 1441702351
|
||||||
|
licenseType: Free
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
31
UnityExamples.Unity5/Assets/Follow.cs
Normal file
31
UnityExamples.Unity5/Assets/Follow.cs
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
using UnityEngine;
|
||||||
|
using System.Collections;
|
||||||
|
using DG.Tweening;
|
||||||
|
|
||||||
|
public class Follow : MonoBehaviour
|
||||||
|
{
|
||||||
|
public Transform target; // Target to follow
|
||||||
|
Vector3 targetLastPos;
|
||||||
|
Tweener tween;
|
||||||
|
|
||||||
|
void Start()
|
||||||
|
{
|
||||||
|
// First create the "move to target" tween and store it as a Tweener.
|
||||||
|
// In this case I'm also setting autoKill to FALSE so the tween can go on forever
|
||||||
|
// (otherwise it will stop executing if it reaches the target)
|
||||||
|
tween = transform.DOMove(target.position, 2).SetAutoKill(false);
|
||||||
|
// Store the target's last position, so it can be used to know if it changes
|
||||||
|
// (to prevent changing the tween if nothing actually changes)
|
||||||
|
targetLastPos = target.position;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Update()
|
||||||
|
{
|
||||||
|
// Use an Update routine to change the tween's endValue each frame
|
||||||
|
// so that it updates to the target's position if that changed
|
||||||
|
if (targetLastPos == target.position) return;
|
||||||
|
// Add a Restart in the end, so that if the tween was completed it will play again
|
||||||
|
tween.ChangeEndValue(target.position, true).Restart();
|
||||||
|
targetLastPos = target.position;
|
||||||
|
}
|
||||||
|
}
|
||||||
12
UnityExamples.Unity5/Assets/Follow.cs.meta
Normal file
12
UnityExamples.Unity5/Assets/Follow.cs.meta
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: c212a8f648c4b354cb37688bb68a64af
|
||||||
|
timeCreated: 1441700904
|
||||||
|
licenseType: Free
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
BIN
UnityExamples.Unity5/Assets/Follow.unity
Normal file
BIN
UnityExamples.Unity5/Assets/Follow.unity
Normal file
Binary file not shown.
8
UnityExamples.Unity5/Assets/Follow.unity.meta
Normal file
8
UnityExamples.Unity5/Assets/Follow.unity.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 6d6003cb2f193b944917e6f4ae3807ff
|
||||||
|
timeCreated: 1441700897
|
||||||
|
licenseType: Free
|
||||||
|
DefaultImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
Binary file not shown.
@ -1,2 +1,2 @@
|
|||||||
m_EditorVersion: 5.0.1f1
|
m_EditorVersion: 5.1.1f1
|
||||||
m_StandardAssetsVersion: 0
|
m_StandardAssetsVersion: 0
|
||||||
|
|||||||
@ -554,6 +554,11 @@
|
|||||||
<summary>Kills all tweens and returns the number of actual tweens killed</summary>
|
<summary>Kills all tweens and returns the number of actual tweens killed</summary>
|
||||||
<param name="complete">If TRUE completes the tweens before killing them</param>
|
<param name="complete">If TRUE completes the tweens before killing them</param>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="M:DG.Tweening.DOTween.KillAll(System.Boolean,System.Object[])">
|
||||||
|
<summary>Kills all tweens and returns the number of actual tweens killed</summary>
|
||||||
|
<param name="complete">If TRUE completes the tweens before killing them</param>
|
||||||
|
<param name="idsOrTargetsToExclude">Eventual IDs or targets to exclude from the killing</param>
|
||||||
|
</member>
|
||||||
<member name="M:DG.Tweening.DOTween.Kill(System.Object,System.Boolean)">
|
<member name="M:DG.Tweening.DOTween.Kill(System.Object,System.Boolean)">
|
||||||
<summary>Kills all tweens with the given ID or target and returns the number of actual tweens killed</summary>
|
<summary>Kills all tweens with the given ID or target and returns the number of actual tweens killed</summary>
|
||||||
<param name="complete">If TRUE completes the tweens before killing them</param>
|
<param name="complete">If TRUE completes the tweens before killing them</param>
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -554,6 +554,11 @@
|
|||||||
<summary>Kills all tweens and returns the number of actual tweens killed</summary>
|
<summary>Kills all tweens and returns the number of actual tweens killed</summary>
|
||||||
<param name="complete">If TRUE completes the tweens before killing them</param>
|
<param name="complete">If TRUE completes the tweens before killing them</param>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="M:DG.Tweening.DOTween.KillAll(System.Boolean,System.Object[])">
|
||||||
|
<summary>Kills all tweens and returns the number of actual tweens killed</summary>
|
||||||
|
<param name="complete">If TRUE completes the tweens before killing them</param>
|
||||||
|
<param name="idsOrTargetsToExclude">Eventual IDs or targets to exclude from the killing</param>
|
||||||
|
</member>
|
||||||
<member name="M:DG.Tweening.DOTween.Kill(System.Object,System.Boolean)">
|
<member name="M:DG.Tweening.DOTween.Kill(System.Object,System.Boolean)">
|
||||||
<summary>Kills all tweens with the given ID or target and returns the number of actual tweens killed</summary>
|
<summary>Kills all tweens with the given ID or target and returns the number of actual tweens killed</summary>
|
||||||
<param name="complete">If TRUE completes the tweens before killing them</param>
|
<param name="complete">If TRUE completes the tweens before killing them</param>
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
26
UnityTests.Unity5/Assets/_Tests/KillMethods.cs
Normal file
26
UnityTests.Unity5/Assets/_Tests/KillMethods.cs
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
using UnityEngine;
|
||||||
|
using System.Collections;
|
||||||
|
using DG.Tweening;
|
||||||
|
|
||||||
|
public class KillMethods : BrainBase
|
||||||
|
{
|
||||||
|
public Transform[] targets;
|
||||||
|
|
||||||
|
void Start()
|
||||||
|
{
|
||||||
|
for (int i = 0; i < targets.Length; ++i) {
|
||||||
|
Tween t = targets[i].DOMoveX(3, 1).SetRelative().SetLoops(-1, LoopType.Yoyo);
|
||||||
|
if (i < 2) t.SetId("ID 0-1");
|
||||||
|
if (i == 2) t.SetId("ID 2");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void OnGUI()
|
||||||
|
{
|
||||||
|
if (GUILayout.Button("KillAll except ID 0-1")) DOTween.KillAll(false, "ID 0-1");
|
||||||
|
if (GUILayout.Button("KillAll except ID 2")) DOTween.KillAll(false, "ID 2");
|
||||||
|
if (GUILayout.Button("KillAll except wrong ID")) DOTween.KillAll(false, "Wrong");
|
||||||
|
if (GUILayout.Button("KillAll except target 3-4")) DOTween.KillAll(false, targets[3], targets[4]);
|
||||||
|
if (GUILayout.Button("KillAll")) DOTween.KillAll();
|
||||||
|
}
|
||||||
|
}
|
||||||
12
UnityTests.Unity5/Assets/_Tests/KillMethods.cs.meta
Normal file
12
UnityTests.Unity5/Assets/_Tests/KillMethods.cs.meta
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 45fc22ceee6b7a3498114669cad4b1a5
|
||||||
|
timeCreated: 1442338312
|
||||||
|
licenseType: Free
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
BIN
UnityTests.Unity5/Assets/_Tests/KillMethods.unity
Normal file
BIN
UnityTests.Unity5/Assets/_Tests/KillMethods.unity
Normal file
Binary file not shown.
8
UnityTests.Unity5/Assets/_Tests/KillMethods.unity.meta
Normal file
8
UnityTests.Unity5/Assets/_Tests/KillMethods.unity.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: a9459314d8f43614ab21e316a42b3784
|
||||||
|
timeCreated: 1442338303
|
||||||
|
licenseType: Free
|
||||||
|
DefaultImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
Binary file not shown.
@ -1,2 +1,2 @@
|
|||||||
m_EditorVersion: 5.1.1f1
|
m_EditorVersion: 5.2.0f3
|
||||||
m_StandardAssetsVersion: 0
|
m_StandardAssetsVersion: 0
|
||||||
|
|||||||
Binary file not shown.
BIN
UnityTests.Unity5/ProjectSettings/UnityAdsSettings.asset
Normal file
BIN
UnityTests.Unity5/ProjectSettings/UnityAdsSettings.asset
Normal file
Binary file not shown.
BIN
UnityTests.Unity5/ProjectSettings/UnityAnalyticsManager.asset
Normal file
BIN
UnityTests.Unity5/ProjectSettings/UnityAnalyticsManager.asset
Normal file
Binary file not shown.
@ -11,6 +11,7 @@ namespace DG.Tweening.Core.Enums
|
|||||||
All,
|
All,
|
||||||
TargetOrId, // Check both for id and target
|
TargetOrId, // Check both for id and target
|
||||||
TargetAndId, // Check for both id and target on the same tween
|
TargetAndId, // Check for both id and target on the same tween
|
||||||
|
AllExceptTargetsOrIds, // Excludes given targets or ids
|
||||||
DOGetter
|
DOGetter
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -404,10 +404,11 @@ namespace DG.Tweening.Core
|
|||||||
isUpdateLoop = false;
|
isUpdateLoop = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
internal static int FilteredOperation(OperationType operationType, FilterType filterType, object id, bool optionalBool, float optionalFloat, object optionalObj = null)
|
internal static int FilteredOperation(OperationType operationType, FilterType filterType, object id, bool optionalBool, float optionalFloat, object optionalObj = null, object[] optionalArray = null)
|
||||||
{
|
{
|
||||||
int totInvolved = 0;
|
int totInvolved = 0;
|
||||||
bool hasDespawned = false;
|
bool hasDespawned = false;
|
||||||
|
int optionalArrayLen = optionalArray == null ? 0 : optionalArray.Length;
|
||||||
for (int i = _maxActiveLookupId; i > -1; --i) {
|
for (int i = _maxActiveLookupId; i > -1; --i) {
|
||||||
Tween t = _activeTweens[i];
|
Tween t = _activeTweens[i];
|
||||||
if (t == null || !t.active) continue;
|
if (t == null || !t.active) continue;
|
||||||
@ -423,6 +424,16 @@ namespace DG.Tweening.Core
|
|||||||
case FilterType.TargetAndId:
|
case FilterType.TargetAndId:
|
||||||
isFilterCompliant = id.Equals(t.id) && optionalObj != null && optionalObj.Equals(t.target);
|
isFilterCompliant = id.Equals(t.id) && optionalObj != null && optionalObj.Equals(t.target);
|
||||||
break;
|
break;
|
||||||
|
case FilterType.AllExceptTargetsOrIds:
|
||||||
|
isFilterCompliant = true;
|
||||||
|
for (int c = 0; c < optionalArrayLen; ++c) {
|
||||||
|
object objId = optionalArray[c];
|
||||||
|
if (objId.Equals(t.id) || objId.Equals(t.target)) {
|
||||||
|
isFilterCompliant = false;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
if (isFilterCompliant) {
|
if (isFilterCompliant) {
|
||||||
switch (operationType) {
|
switch (operationType) {
|
||||||
|
|||||||
@ -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.0.820";
|
public static readonly string Version = "1.0.830";
|
||||||
|
|
||||||
///////////////////////////////////////////////
|
///////////////////////////////////////////////
|
||||||
// Options ////////////////////////////////////
|
// Options ////////////////////////////////////
|
||||||
@ -656,6 +656,11 @@ namespace DG.Tweening
|
|||||||
if (targetOrId == null) return 0;
|
if (targetOrId == null) return 0;
|
||||||
return TweenManager.FilteredOperation(OperationType.Complete, FilterType.TargetOrId, targetOrId, true, 0);
|
return TweenManager.FilteredOperation(OperationType.Complete, FilterType.TargetOrId, targetOrId, true, 0);
|
||||||
}
|
}
|
||||||
|
internal static int CompleteAndReturnKilledTotExceptFor(params object[] excludeTargetsOrIds)
|
||||||
|
{
|
||||||
|
// excludeTargetsOrIds is never NULL (checked by DOTween.KillAll)
|
||||||
|
return TweenManager.FilteredOperation(OperationType.Complete, FilterType.AllExceptTargetsOrIds, null, true, 0, null, excludeTargetsOrIds);
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>Flips all tweens (changing their direction to forward if it was backwards and viceversa),
|
/// <summary>Flips all tweens (changing their direction to forward if it was backwards and viceversa),
|
||||||
/// then returns the number of actual tweens flipped</summary>
|
/// then returns the number of actual tweens flipped</summary>
|
||||||
@ -691,6 +696,19 @@ namespace DG.Tweening
|
|||||||
int tot = complete ? CompleteAndReturnKilledTot() : 0;
|
int tot = complete ? CompleteAndReturnKilledTot() : 0;
|
||||||
return tot + TweenManager.DespawnAll();
|
return tot + TweenManager.DespawnAll();
|
||||||
}
|
}
|
||||||
|
/// <summary>Kills all tweens and returns the number of actual tweens killed</summary>
|
||||||
|
/// <param name="complete">If TRUE completes the tweens before killing them</param>
|
||||||
|
/// <param name="idsOrTargetsToExclude">Eventual IDs or targets to exclude from the killing</param>
|
||||||
|
public static int KillAll(bool complete, params object[] idsOrTargetsToExclude)
|
||||||
|
{
|
||||||
|
int tot;
|
||||||
|
if (idsOrTargetsToExclude == null) {
|
||||||
|
tot = complete ? CompleteAndReturnKilledTot() : 0;
|
||||||
|
return tot + TweenManager.DespawnAll();
|
||||||
|
}
|
||||||
|
tot = complete ? CompleteAndReturnKilledTotExceptFor(idsOrTargetsToExclude) : 0;
|
||||||
|
return tot + TweenManager.FilteredOperation(OperationType.Despawn, FilterType.AllExceptTargetsOrIds, null, false, 0, null, idsOrTargetsToExclude);
|
||||||
|
}
|
||||||
/// <summary>Kills all tweens with the given ID or target and returns the number of actual tweens killed</summary>
|
/// <summary>Kills all tweens with the given ID or target and returns the number of actual tweens killed</summary>
|
||||||
/// <param name="complete">If TRUE completes the tweens before killing them</param>
|
/// <param name="complete">If TRUE completes the tweens before killing them</param>
|
||||||
public static int Kill(object targetOrId, bool complete = false)
|
public static int Kill(object targetOrId, bool complete = false)
|
||||||
|
|||||||
@ -554,6 +554,11 @@
|
|||||||
<summary>Kills all tweens and returns the number of actual tweens killed</summary>
|
<summary>Kills all tweens and returns the number of actual tweens killed</summary>
|
||||||
<param name="complete">If TRUE completes the tweens before killing them</param>
|
<param name="complete">If TRUE completes the tweens before killing them</param>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="M:DG.Tweening.DOTween.KillAll(System.Boolean,System.Object[])">
|
||||||
|
<summary>Kills all tweens and returns the number of actual tweens killed</summary>
|
||||||
|
<param name="complete">If TRUE completes the tweens before killing them</param>
|
||||||
|
<param name="idsOrTargetsToExclude">Eventual IDs or targets to exclude from the killing</param>
|
||||||
|
</member>
|
||||||
<member name="M:DG.Tweening.DOTween.Kill(System.Object,System.Boolean)">
|
<member name="M:DG.Tweening.DOTween.Kill(System.Object,System.Boolean)">
|
||||||
<summary>Kills all tweens with the given ID or target and returns the number of actual tweens killed</summary>
|
<summary>Kills all tweens with the given ID or target and returns the number of actual tweens killed</summary>
|
||||||
<param name="complete">If TRUE completes the tweens before killing them</param>
|
<param name="complete">If TRUE completes the tweens before killing them</param>
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user