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

[BUGFIX] Fixed DOText returning an error if the end value is NULL

This commit is contained in:
Demigiant 2019-06-11 16:42:26 +02:00
parent 576460f6e9
commit c7ef004ea9
38 changed files with 551 additions and 219 deletions

View File

@ -137,6 +137,17 @@
Public so it can be used by external ease factories
</summary>
</member>
<member name="T:DG.Tweening.Core.Enums.NestedTweenFailureBehaviour">
<summary>
Behaviour in case a tween nested inside a Sequence fails
</summary>
</member>
<member name="F:DG.Tweening.Core.Enums.NestedTweenFailureBehaviour.TryToPreserveSequence">
<summary>If the Sequence contains other elements, kill the failed tween but preserve the rest</summary>
</member>
<member name="F:DG.Tweening.Core.Enums.NestedTweenFailureBehaviour.KillWholeSequence">
<summary>Kill the whole Sequence</summary>
</member>
<member name="T:DG.Tweening.Core.Enums.UpdateNotice">
<summary>
Additional notices passed to plugins when updating.
@ -179,6 +190,26 @@
Public only so custom shortcuts can access some of these methods
</summary>
</member>
<member name="M:DG.Tweening.Core.Extensions.SetSpecialStartupMode``1(``0,DG.Tweening.Core.Enums.SpecialStartupMode)">
<summary>
INTERNAL: used by DO shortcuts and Modules to set special startup mode
</summary>
</member>
<member name="M:DG.Tweening.Core.Extensions.Blendable``3(DG.Tweening.Core.TweenerCore{``0,``1,``2})">
<summary>
INTERNAL: used by DO shortcuts and Modules to set the tween as blendable
</summary>
</member>
<member name="M:DG.Tweening.Core.Extensions.NoFrom``3(DG.Tweening.Core.TweenerCore{``0,``1,``2})">
<summary>
INTERNAL: used by DO shortcuts and Modules to prevent a tween from using a From setup even if passed
</summary>
</member>
<member name="T:DG.Tweening.Core.DOTweenExternalCommand">
<summary>
Used to dispatch commands that need to be captured externally, usually by Modules
</summary>
</member>
<member name="M:DG.Tweening.Core.Utils.Vector3FromAngle(System.Single,System.Single)">
<summary>
Returns a Vector3 with z = 0
@ -195,6 +226,37 @@
because the latter fails (in some cases) when assigning a Vector3 to a transform.position and then checking it.
</summary>
</member>
<member name="M:DG.Tweening.Core.Utils.GetLooseScriptType(System.String)">
<summary>
Looks for the type within all possible project assembly names
</summary>
</member>
<member name="M:DG.Tweening.Core.TweenerCore`3.ChangeStartValue(`1,System.Single)">
<summary>NO-GC METHOD: changes the start value of a tween and rewinds it (without pausing it).
Has no effect with tweens that are inside Sequences</summary>
<param name="newStartValue">The new start value</param>
<param name="newDuration">If bigger than 0 applies it as the new tween duration</param>
</member>
<member name="M:DG.Tweening.Core.TweenerCore`3.ChangeEndValue(`1,System.Boolean)">
<summary>NO-GC METHOD: changes the end value of a tween and rewinds it (without pausing it).
Has no effect with tweens that are inside Sequences</summary>
<param name="newEndValue">The new end value</param>
<param name="snapStartValue">If TRUE the start value will become the current target's value, otherwise it will stay the same</param>
</member>
<member name="M:DG.Tweening.Core.TweenerCore`3.ChangeEndValue(`1,System.Single,System.Boolean)">
<summary>NO-GC METHOD: changes the end value of a tween and rewinds it (without pausing it).
Has no effect with tweens that are inside Sequences</summary>
<param name="newEndValue">The new end value</param>
<param name="newDuration">If bigger than 0 applies it as the new tween duration</param>
<param name="snapStartValue">If TRUE the start value will become the current target's value, otherwise it will stay the same</param>
</member>
<member name="M:DG.Tweening.Core.TweenerCore`3.ChangeValues(`1,`1,System.Single)">
<summary>NO-GC METHOD: changes the start and end value of a tween and rewinds it (without pausing it).
Has no effect with tweens that are inside Sequences</summary>
<param name="newStartValue">The new start value</param>
<param name="newEndValue">The new end value</param>
<param name="newDuration">If bigger than 0 applies it as the new tween duration</param>
</member>
<member name="T:DG.Tweening.Color2">
<summary>
Struct that stores two colors (used for LineRenderer tweens)
@ -237,6 +299,9 @@
<member name="M:DG.Tweening.CustomPlugins.PureQuaternionPlugin.SetFrom(DG.Tweening.Core.TweenerCore{UnityEngine.Quaternion,UnityEngine.Quaternion,DG.Tweening.Plugins.Options.NoOptions},System.Boolean)">
<summary>INTERNAL: do not use</summary>
</member>
<member name="M:DG.Tweening.CustomPlugins.PureQuaternionPlugin.SetFrom(DG.Tweening.Core.TweenerCore{UnityEngine.Quaternion,UnityEngine.Quaternion,DG.Tweening.Plugins.Options.NoOptions},UnityEngine.Quaternion,System.Boolean)">
<summary>INTERNAL: do not use</summary>
</member>
<member name="M:DG.Tweening.CustomPlugins.PureQuaternionPlugin.ConvertToStartValue(DG.Tweening.Core.TweenerCore{UnityEngine.Quaternion,UnityEngine.Quaternion,DG.Tweening.Plugins.Options.NoOptions},UnityEngine.Quaternion)">
<summary>INTERNAL: do not use</summary>
</member>
@ -265,6 +330,10 @@
(like targets becoming null while a tween is playing).
<para>Default: TRUE</para></summary>
</member>
<member name="F:DG.Tweening.DOTween.nestedTweenFailureBehaviour">
<summary>Behaviour in case a tween nested inside a Sequence fails (caught by safe mode).
<para>Default: NestedTweenFailureBehaviour.TryToPreserveSequence</para></summary>
</member>
<member name="F:DG.Tweening.DOTween.showUnityEditorReport">
<summary>If TRUE you will get a DOTween report when exiting play mode (only in the Editor).
Useful to know how many max Tweeners and Sequences you reached and optimize your final project accordingly.
@ -291,6 +360,13 @@
<summary>DOTween's log behaviour.
<para>Default: LogBehaviour.ErrorsOnly</para></summary>
</member>
<member name="F:DG.Tweening.DOTween.onWillLog">
<summary>Used to intercept DOTween's logs. If this method isn't NULL, DOTween will call it before writing a log via Unity's own Debug log methods.<para/>
Return TRUE if you want DOTween to proceed with the log, FALSE otherwise.<para/>
This method must return a <code>bool</code> and accept two parameters:<para/>
- <code>LogType</code>: the type of Unity log that DOTween is trying to log<para/>
- <code>object</code>: the log message that DOTween wants to log</summary>
</member>
<member name="F:DG.Tweening.DOTween.drawGizmos">
<summary>If TRUE draws path gizmos in Unity Editor (if the gizmos button is active).
Deactivate this if you want to avoid gizmos overhead while in Unity Editor</summary>
@ -331,6 +407,9 @@
<summary>Default period used for eases
<para>Default: 0</para></summary>
</member>
<member name="F:DG.Tweening.DOTween.instance">
<summary>Used internally. Assigned/removed by DOTweenComponent.Create/DestroyInstance</summary>
</member>
<member name="M:DG.Tweening.DOTween.Init(System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{DG.Tweening.LogBehaviour})">
<summary>
Must be called once, before the first ever DOTween call/reference,
@ -899,6 +978,32 @@
<param name="sequencesCapacity">Max Sequences capacity.
Default: 50</param>
</member>
<member name="T:DG.Tweening.LinkBehaviour">
<summary>
Behaviour that can be assigned when chaining a SetLink to a tween
</summary>
</member>
<member name="F:DG.Tweening.LinkBehaviour.PauseOnDisable">
<summary>Pauses the tween when the link target is disabled</summary>
</member>
<member name="F:DG.Tweening.LinkBehaviour.PauseOnDisablePlayOnEnable">
<summary>Pauses the tween when the link target is disabled, plays it when it's enabled</summary>
</member>
<member name="F:DG.Tweening.LinkBehaviour.PauseOnDisableRestartOnEnable">
<summary>Pauses the tween when the link target is disabled, restarts it when it's enabled</summary>
</member>
<member name="F:DG.Tweening.LinkBehaviour.PlayOnEnable">
<summary>Plays the tween when the link target is enabled</summary>
</member>
<member name="F:DG.Tweening.LinkBehaviour.RestartOnEnable">
<summary>Restarts the tween when the link target is enabled</summary>
</member>
<member name="F:DG.Tweening.LinkBehaviour.KillOnDisable">
<summary>Kills the tween when the link target is disabled</summary>
</member>
<member name="F:DG.Tweening.LinkBehaviour.KillOnDestroy">
<summary>Kills the tween when the link target is destroyed (becomes NULL). This is always active even if another behaviour is chosen</summary>
</member>
<member name="T:DG.Tweening.PathMode">
<summary>
Path mode (used to determine correct LookAt orientation)
@ -927,6 +1032,9 @@
<member name="F:DG.Tweening.PathType.CatmullRom">
<summary>Curved path (which uses Catmull-Rom curves)</summary>
</member>
<member name="F:DG.Tweening.PathType.CubicBezier">
<summary><code>EXPERIMENTAL: </code>Curved path (which uses Cubic Bezier curves, where each point requires two extra control points)</summary>
</member>
<member name="T:DG.Tweening.Plugins.Core.PathCore.ControlPoint">
<summary>
Path control point
@ -1239,16 +1347,6 @@
Methods that extend known Unity objects and allow to directly create and control tweens from their instances
</summary>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOFade(UnityEngine.AudioSource,System.Single,System.Single)">
<summary>Tweens an AudioSource's volume to the given value.
Also stores the AudioSource 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>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOPitch(UnityEngine.AudioSource,System.Single,System.Single)">
<summary>Tweens an AudioSource's pitch to the given value.
Also stores the AudioSource 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>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOAspect(UnityEngine.Camera,System.Single,System.Single)">
<summary>Tweens a Camera's <code>aspect</code> to the given value.
Also stores the camera as the tween's target so it can be used for filtered operations</summary>
@ -1364,6 +1462,13 @@
<param name="property">The name of the material property to tween (like _Tint or _SpecColor)</param>
<param name="duration">The duration of the tween</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOColor(UnityEngine.Material,UnityEngine.Color,System.Int32,System.Single)">
<summary>Tweens a Material's named color property with the given ID to the given value.
Also stores the material 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="propertyID">The ID of the material property to tween (also called nameID in Unity's manual)</param>
<param name="duration">The duration of the tween</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOFade(UnityEngine.Material,System.Single,System.Single)">
<summary>Tweens a Material's alpha color to the given value
(will have no effect unless your material supports transparency).
@ -1378,6 +1483,14 @@
<param name="property">The name of the material property to tween (like _Tint or _SpecColor)</param>
<param name="duration">The duration of the tween</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOFade(UnityEngine.Material,System.Single,System.Int32,System.Single)">
<summary>Tweens a Material's alpha color with the given ID to the given value
(will have no effect unless your material supports transparency).
Also stores the material 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="propertyID">The ID of the material property to tween (also called nameID in Unity's manual)</param>
<param name="duration">The duration of the tween</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOFloat(UnityEngine.Material,System.Single,System.String,System.Single)">
<summary>Tweens a Material's named float property to the given value.
Also stores the material as the tween's target so it can be used for filtered operations</summary>
@ -1385,6 +1498,13 @@
<param name="property">The name of the material property to tween</param>
<param name="duration">The duration of the tween</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOFloat(UnityEngine.Material,System.Single,System.Int32,System.Single)">
<summary>Tweens a Material's named float property with the given ID to the given value.
Also stores the material 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="propertyID">The ID of the material property to tween (also called nameID in Unity's manual)</param>
<param name="duration">The duration of the tween</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOOffset(UnityEngine.Material,UnityEngine.Vector2,System.Single)">
<summary>Tweens a Material's texture offset to the given value.
Also stores the material as the tween's target so it can be used for filtered operations</summary>
@ -1418,80 +1538,12 @@
<param name="property">The name of the material property to tween</param>
<param name="duration">The duration of the tween</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOMove(UnityEngine.Rigidbody,UnityEngine.Vector3,System.Single,System.Boolean)">
<summary>Tweens a Rigidbody's position to the given value.
Also stores the rigidbody 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="snapping">If TRUE the tween will smoothly snap all values to integers</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOMoveX(UnityEngine.Rigidbody,System.Single,System.Single,System.Boolean)">
<summary>Tweens a Rigidbody's X position to the given value.
Also stores the rigidbody 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="snapping">If TRUE the tween will smoothly snap all values to integers</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOMoveY(UnityEngine.Rigidbody,System.Single,System.Single,System.Boolean)">
<summary>Tweens a Rigidbody's Y position to the given value.
Also stores the rigidbody 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="snapping">If TRUE the tween will smoothly snap all values to integers</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOMoveZ(UnityEngine.Rigidbody,System.Single,System.Single,System.Boolean)">
<summary>Tweens a Rigidbody's Z position to the given value.
Also stores the rigidbody 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="snapping">If TRUE the tween will smoothly snap all values to integers</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DORotate(UnityEngine.Rigidbody,UnityEngine.Vector3,System.Single,DG.Tweening.RotateMode)">
<summary>Tweens a Rigidbody's rotation to the given value.
Also stores the rigidbody 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="mode">Rotation mode</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOLookAt(UnityEngine.Rigidbody,UnityEngine.Vector3,System.Single,DG.Tweening.AxisConstraint,System.Nullable{UnityEngine.Vector3})">
<summary>Tweens a Rigidbody's rotation so that it will look towards the given position.
Also stores the rigidbody as the tween's target so it can be used for filtered operations</summary>
<param name="towards">The position to look at</param><param name="duration">The duration of the tween</param>
<param name="axisConstraint">Eventual axis constraint for the rotation</param>
<param name="up">The vector that defines in which direction up is (default: Vector3.up)</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOJump(UnityEngine.Rigidbody,UnityEngine.Vector3,System.Single,System.Int32,System.Single,System.Boolean)">
<summary>Tweens a Rigidbody'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 Rigidbody as the tween's target so it can be used for filtered operations</summary>
<member name="M:DG.Tweening.ShortcutExtensions.DOVector(UnityEngine.Material,UnityEngine.Vector4,System.Int32,System.Single)">
<summary>Tweens a Material's named Vector property with the given ID to the given value.
Also stores the material 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="propertyID">The ID of the material property to tween (also called nameID in Unity's manual)</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.ShortcutExtensions.DOPath(UnityEngine.Rigidbody,UnityEngine.Vector3[],System.Single,DG.Tweening.PathType,DG.Tweening.PathMode,System.Int32,System.Nullable{UnityEngine.Color})">
<summary>Tweens a Rigidbody's position through the given path waypoints, using the chosen path algorithm.
Also stores the Rigidbody as the tween's target so it can be used for filtered operations.
<para>NOTE: to tween a rigidbody correctly it should be set to kinematic at least while being tweened.</para>
<para>BEWARE: doesn't work on Windows Phone store (waiting for Unity to fix their own bug).
If you plan to publish there you should use a regular transform.DOPath.</para></summary>
<param name="path">The waypoints to go through</param>
<param name="duration">The duration of the tween</param>
<param name="pathType">The type of path: Linear (straight path) or CatmullRom (curved CatmullRom path)</param>
<param name="pathMode">The path mode: 3D, side-scroller 2D, top-down 2D</param>
<param name="resolution">The resolution of the path (useless in case of Linear paths): higher resolutions make for more detailed curved paths but are more expensive.
Defaults to 10, but a value of 5 is usually enough if you don't have dramatic long curves between waypoints</param>
<param name="gizmoColor">The color of the path (shown when gizmos are active in the Play panel and the tween is running)</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOLocalPath(UnityEngine.Rigidbody,UnityEngine.Vector3[],System.Single,DG.Tweening.PathType,DG.Tweening.PathMode,System.Int32,System.Nullable{UnityEngine.Color})">
<summary>Tweens a Rigidbody's localPosition through the given path waypoints, using the chosen path algorithm.
Also stores the Rigidbody as the tween's target so it can be used for filtered operations
<para>NOTE: to tween a rigidbody correctly it should be set to kinematic at least while being tweened.</para>
<para>BEWARE: doesn't work on Windows Phone store (waiting for Unity to fix their own bug).
If you plan to publish there you should use a regular transform.DOLocalPath.</para></summary>
<param name="path">The waypoint to go through</param>
<param name="duration">The duration of the tween</param>
<param name="pathType">The type of path: Linear (straight path) or CatmullRom (curved CatmullRom path)</param>
<param name="pathMode">The path mode: 3D, side-scroller 2D, top-down 2D</param>
<param name="resolution">The resolution of the path: higher resolutions make for more detailed curved paths but are more expensive.
Defaults to 10, but a value of 5 is usually enough if you don't have dramatic long curves between waypoints</param>
<param name="gizmoColor">The color of the path (shown when gizmos are active in the Play panel and the tween is running)</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOResize(UnityEngine.TrailRenderer,System.Single,System.Single,System.Single)">
<summary>Tweens a TrailRenderer's startWidth/endWidth to the given value.
@ -1743,6 +1795,22 @@
Defaults to 10, but a value of 5 is usually enough if you don't have dramatic long curves between waypoints</param>
<param name="gizmoColor">The color of the path (shown when gizmos are active in the Play panel and the tween is running)</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOPath(UnityEngine.Transform,DG.Tweening.Plugins.Core.PathCore.Path,System.Single,DG.Tweening.PathMode)">
<summary>IMPORTANT: Unless you really know what you're doing, you should use the overload that accepts a Vector3 array instead.<para/>
Tweens a Transform's position via the given path.
Also stores the transform as the tween's target so it can be used for filtered operations</summary>
<param name="path">The path to use</param>
<param name="duration">The duration of the tween</param>
<param name="pathMode">The path mode: 3D, side-scroller 2D, top-down 2D</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOLocalPath(UnityEngine.Transform,DG.Tweening.Plugins.Core.PathCore.Path,System.Single,DG.Tweening.PathMode)">
<summary>IMPORTANT: Unless you really know what you're doing, you should use the overload that accepts a Vector3 array instead.<para/>
Tweens a Transform's localPosition via the given path.
Also stores the transform as the tween's target so it can be used for filtered operations</summary>
<param name="path">The path to use</param>
<param name="duration">The duration of the tween</param>
<param name="pathMode">The path mode: 3D, side-scroller 2D, top-down 2D</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOTimeScale(DG.Tweening.Tween,System.Single,System.Single)">
<summary>Tweens a Tween's timeScale to the given value.
Also stores the Tween as the tween's target so it can be used for filtered operations</summary>
@ -1771,6 +1839,15 @@
<param name="property">The name of the material property to tween (like _Tint or _SpecColor)</param>
<param name="duration">The duration of the tween</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOBlendableColor(UnityEngine.Material,UnityEngine.Color,System.Int32,System.Single)">
<summary>Tweens a Material's named color property with the given ID to the given value,
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.
Also stores the Material 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="propertyID">The ID of the material property to tween (also called nameID in Unity's manual)</param>
<param name="duration">The duration of the tween</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOBlendableMoveBy(UnityEngine.Transform,UnityEngine.Vector3,System.Single,System.Boolean)">
<summary>Tweens a Transform's position BY the given value (as if you chained a <code>SetRelative</code>),
in a way that allows other DOBlendableMove tweens to work together on the same target,
@ -2126,12 +2203,12 @@
</summary>
</member>
<member name="M:DG.Tweening.TweenSettingsExtensions.SetAutoKill``1(``0)">
<summary>Sets the autoKill behaviour of the tween.
Has no effect if the tween has already started</summary>
<summary>Sets the autoKill behaviour of the tween to TRUE.
<code>Has no effect</code> if the tween has already started or if it's added to a Sequence</summary>
</member>
<member name="M:DG.Tweening.TweenSettingsExtensions.SetAutoKill``1(``0,System.Boolean)">
<summary>Sets the autoKill behaviour of the tween.
Has no effect if the tween has already started</summary>
<code>Has no effect</code> if the tween has already started or if it's added to a Sequence</summary>
<param name="autoKillOnCompletion">If TRUE the tween will be automatically killed when complete</param>
</member>
<member name="M:DG.Tweening.TweenSettingsExtensions.SetId``1(``0,System.Object)">
@ -2148,6 +2225,19 @@
Filtering via int is 4X faster than via object, 2X faster than via string (using the alternate object/string overloads)</summary>
<param name="intId">The int ID to assign to this tween.</param>
</member>
<member name="M:DG.Tweening.TweenSettingsExtensions.SetLink``1(``0,UnityEngine.GameObject)">
<summary>Allows to link this tween to a GameObject
so that it will be automatically killed when the GameObject is destroyed.
<code>Has no effect</code> if the tween is added to a Sequence</summary>
<param name="gameObject">The link target (unrelated to the target set via <code>SetTarget</code>)</param>
</member>
<member name="M:DG.Tweening.TweenSettingsExtensions.SetLink``1(``0,UnityEngine.GameObject,DG.Tweening.LinkBehaviour)">
<summary>Allows to link this tween to a GameObject and assign a behaviour depending on it.
This will also automatically kill the tween when the GameObject is destroyed.
<code>Has no effect</code> if the tween is added to a Sequence</summary>
<param name="gameObject">The link target (unrelated to the target set via <code>SetTarget</code>)</param>
<param name="behaviour">The behaviour to use (<see cref="F:DG.Tweening.LinkBehaviour.KillOnDestroy"/> is always evaluated even if you choose another one)</param>
</member>
<member name="M:DG.Tweening.TweenSettingsExtensions.SetTarget``1(``0,System.Object)">
<summary>Sets the target for the tween, which can then be used as a filter with DOTween's static methods.
<para>IMPORTANT: use it with caution. If you just want to set an ID for the tween use <code>SetId</code> instead.</para>
@ -2329,6 +2419,24 @@
then immediately sends the target to the previously set endValue.</summary>
<param name="isRelative">If TRUE the FROM value will be calculated as relative to the current one</param>
</member>
<member name="M:DG.Tweening.TweenSettingsExtensions.From``3(DG.Tweening.Core.TweenerCore{``0,``1,``2},``1,System.Boolean)">
<summary>Changes a TO tween into a FROM tween: sets the tween's starting value to the given one
and eventually sets the tween's target to that value immediately.</summary>
<param name="fromValue">Value to start from</param>
<param name="setImmediately">If TRUE sets the target to from value immediately, otherwise waits for the tween to start</param>
</member>
<member name="M:DG.Tweening.TweenSettingsExtensions.From(DG.Tweening.Core.TweenerCore{UnityEngine.Color,UnityEngine.Color,DG.Tweening.Plugins.Options.ColorOptions},System.Single,System.Boolean)">
<summary>Changes a TO tween into a FROM tween: sets the tween's starting value to the given one
and eventually sets the tween's target to that value immediately.</summary>
<param name="fromAlphaValue">Alpha value to start from (in case of Fade tweens)</param>
<param name="setImmediately">If TRUE sets the target to from value immediately, otherwise waits for the tween to start</param>
</member>
<member name="M:DG.Tweening.TweenSettingsExtensions.From(DG.Tweening.Core.TweenerCore{UnityEngine.Vector3,UnityEngine.Vector3,DG.Tweening.Plugins.Options.VectorOptions},System.Single,System.Boolean)">
<summary>Changes a TO tween into a FROM tween: sets the tween's starting value to the given one
and eventually sets the tween's target to that value immediately.</summary>
<param name="fromValue">Value to start from (in case of Vector tweens that act on a single coordinate or scale tweens)</param>
<param name="setImmediately">If TRUE sets the target to from value immediately, otherwise waits for the tween to start</param>
</member>
<member name="M:DG.Tweening.TweenSettingsExtensions.SetDelay``1(``0,System.Single)">
<summary>Sets a delayed startup for the tween.
<para>Has no effect on Sequences or if the tween has already started</para></summary>
@ -2493,7 +2601,7 @@
Default is -999 so avoid using an ID like that or it will capture all unset intIds</summary>
</member>
<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 shortcuts</summary>
</member>
<member name="F:DG.Tweening.Tween.onPlay">
<summary>Called when the tween is set in a playing state, after any eventual delay.
@ -2523,9 +2631,21 @@
<member name="F:DG.Tweening.Tween.onWaypointChange">
<summary>Called when a path tween's current waypoint changes</summary>
</member>
<member name="P:DG.Tweening.Tween.isRelative">
<summary>Tweeners-only (ignored by Sequences), returns TRUE if the tween was set as relative</summary>
</member>
<member name="P:DG.Tweening.Tween.active">
<summary>FALSE when tween is (or should be) despawned - set only by TweenManager</summary>
</member>
<member name="P:DG.Tweening.Tween.fullPosition">
<summary>Gets and sets the time position (loops included, delays excluded) of the tween</summary>
</member>
<member name="P:DG.Tweening.Tween.playedOnce">
<summary>TRUE after the tween was set in a play state at least once, AFTER any delay is elapsed</summary>
</member>
<member name="P:DG.Tweening.Tween.position">
<summary>Time position within a single loop cycle</summary>
</member>
<member name="T:DG.Tweening.Tweener">
<summary>
Animates a single value

View File

@ -4,37 +4,58 @@
<name>DOTweenEditor</name>
</assembly>
<members>
<member name="M:DG.DOTweenEditor.Core.EditorUtils.SetEditorTexture(UnityEngine.Texture2D,UnityEngine.FilterMode,System.Int32)">
<member name="M:DG.DOTweenEditor.DOTweenEditorPreview.Start(System.Action)">
<summary>
Starts the update loop of tween in the editor. Has no effect during playMode.
</summary>
<param name="onPreviewUpdated">Eventual callback to call after every update</param>
</member>
<member name="M:DG.DOTweenEditor.DOTweenEditorPreview.Stop(System.Boolean)">
<summary>
Stops the update loop and clears the onPreviewUpdated callback.
</summary>
<param name="resetTweenTargets">If TRUE also resets the tweened objects to their original state</param>
</member>
<member name="M:DG.DOTweenEditor.DOTweenEditorPreview.PrepareTweenForPreview(DG.Tweening.Tween,System.Boolean,System.Boolean,System.Boolean)">
<summary>
Readies the tween for editor preview by setting its UpdateType to Manual plus eventual extra settings.
</summary>
<param name="t">The tween to ready</param>
<param name="clearCallbacks">If TRUE (recommended) removes all callbacks (OnComplete/Rewind/etc)</param>
<param name="preventAutoKill">If TRUE prevents the tween from being auto-killed at completion</param>
<param name="andPlay">If TRUE starts playing the tween immediately</param>
</member>
<member name="M:DG.DOTweenEditor.EditorUtils.SetEditorTexture(UnityEngine.Texture2D,UnityEngine.FilterMode,System.Int32)">
<summary>
Checks that the given editor texture use the correct import settings,
and applies them if they're incorrect.
</summary>
</member>
<member name="M:DG.DOTweenEditor.Core.EditorUtils.DOTweenSetupRequired">
<member name="M:DG.DOTweenEditor.EditorUtils.DOTweenSetupRequired">
<summary>
Returns TRUE if addons setup is required.
Returns TRUE if setup is required
</summary>
</member>
<member name="M:DG.DOTweenEditor.Core.EditorUtils.AssetExists(System.String)">
<member name="M:DG.DOTweenEditor.EditorUtils.AssetExists(System.String)">
<summary>
Returns TRUE if the file/directory at the given path exists.
</summary>
<param name="adbPath">Path, relative to Unity's project folder</param>
<returns></returns>
</member>
<member name="M:DG.DOTweenEditor.Core.EditorUtils.ADBPathToFullPath(System.String)">
<member name="M:DG.DOTweenEditor.EditorUtils.ADBPathToFullPath(System.String)">
<summary>
Converts the given project-relative path to a full path,
with backward (\) slashes).
</summary>
</member>
<member name="M:DG.DOTweenEditor.Core.EditorUtils.FullPathToADBPath(System.String)">
<member name="M:DG.DOTweenEditor.EditorUtils.FullPathToADBPath(System.String)">
<summary>
Converts the given full path to a path usable with AssetDatabase methods
(relative to Unity's project folder, and with the correct Unity forward (/) slashes).
</summary>
</member>
<member name="M:DG.DOTweenEditor.Core.EditorUtils.ConnectToSourceAsset``1(System.String,System.Boolean)">
<member name="M:DG.DOTweenEditor.EditorUtils.ConnectToSourceAsset``1(System.String,System.Boolean)">
<summary>
Connects to a <see cref="T:UnityEngine.ScriptableObject"/> asset.
If the asset already exists at the given path, loads it and returns it.
@ -45,21 +66,33 @@
<param name="adbFilePath">File path (relative to Unity's project folder)</param>
<param name="createIfMissing">If TRUE and the requested asset doesn't exist, forces its creation</param>
</member>
<member name="M:DG.DOTweenEditor.Core.EditorUtils.GetAssemblyFilePath(System.Reflection.Assembly)">
<member name="M:DG.DOTweenEditor.EditorUtils.GetAssemblyFilePath(System.Reflection.Assembly)">
<summary>
Full path for the given loaded assembly, assembly file included
</summary>
</member>
<member name="T:DG.DOTweenEditor.DOTweenSetupMenuItem">
<member name="M:DG.DOTweenEditor.EditorUtils.AddGlobalDefine(System.String)">
<summary>
Adds the given global define if it's not already present
</summary>
</member>
<member name="M:DG.DOTweenEditor.EditorUtils.RemoveGlobalDefine(System.String)">
<summary>
Removes the given global define if it's present
</summary>
</member>
<member name="M:DG.DOTweenEditor.EditorUtils.HasGlobalDefine(System.String,System.Nullable{UnityEditor.BuildTargetGroup})">
<summary>
Returns TRUE if the given global define is present in all the <see cref="T:UnityEditor.BuildTargetGroup"/>
or only in the given <see cref="T:UnityEditor.BuildTargetGroup"/>, depending on passed parameters.<para/>
</summary>
<param name="id"></param>
<param name="buildTargetGroup"><see cref="T:UnityEditor.BuildTargetGroup"/>to use. Leave NULL to check in all of them.</param>
</member>
<member name="T:DG.DOTweenEditor.DOTweenDefines">
<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>
</doc>

View File

@ -1,8 +1,18 @@
DOTween and DOTween Pro are copyright (c) 2014 Daniele Giardini - Demigiant
DOTween and DOTween Pro are copyright (c) 2014-2018 Daniele Giardini - Demigiant
// IMPORTANT!!! /////////////////////////////////////////////
// Upgrading DOTween from versions older than 1.2.000 ///////
// (or DOTween Pro older than 1.0.000) //////////////////////
-------------------------------------------------------------
If you're upgrading your project from a version of DOTween older than 1.2.000 (or DOTween Pro older than 1.0.000) please follow these instructions carefully.
1) Import the new version in the same folder as the previous one, overwriting old files. A lot of errors will appear but don't worry
2) Close and reopen Unity (and your project). This is fundamental: skipping this step will cause a bloodbath
3) Open DOTween's Utility Panel (Tools > Demigiant > DOTween Utility Panel) if it doesn't open automatically, then press "Setup DOTween...": this will run the upgrade setup
4) From the Add/Remove Modules panel that opens, activate/deactivate Modules for Unity systems and for external assets (Pro version only)
// GET STARTED //////////////////////////////////////////////
- After importing a new DOTween update, select DOTween's Utility Panel from the Tools menu (if it doesn't open automatically) and press the "Setup DOTween..." button to set up additional features based on your Unity version.
- After importing a new DOTween update, select DOTween's Utility Panel from the "Tools/Demigiant" menu (if it doesn't open automatically) and press the "Setup DOTween..." button to activate/deactivate Modules. You can also access a Preferences Tab from there to choose default settings for DOTween.
- In your code, add "using DG.Tweening" to each class where you want to use DOTween.
- You're ready to tween. Check out the links below for full documentation and license info.
@ -12,7 +22,8 @@ DOTween and DOTween Pro are copyright (c) 2014 Daniele Giardini - Demigiant
DOTween website (documentation, examples, etc): http://dotween.demigiant.com
DOTween license: http://dotween.demigiant.com/license.php
DOTween repository (Google Code): https://code.google.com/p/dotween/
Demigiant website (documentation, examples, etc): http://www.demigiant.com
// NOTES //////////////////////////////////////////////////////
- DOTween's Utility Panel can be found under "Tools > DOTween Utility Panel" and also contains other useful options, plus a tab to set DOTween's preferences
- DOTween's Utility Panel can be found under "Tools > Demigiant > DOTween Utility Panel" and also contains other useful options, plus a tab to set DOTween's preferences

View File

@ -137,6 +137,17 @@
Public so it can be used by external ease factories
</summary>
</member>
<member name="T:DG.Tweening.Core.Enums.NestedTweenFailureBehaviour">
<summary>
Behaviour in case a tween nested inside a Sequence fails
</summary>
</member>
<member name="F:DG.Tweening.Core.Enums.NestedTweenFailureBehaviour.TryToPreserveSequence">
<summary>If the Sequence contains other elements, kill the failed tween but preserve the rest</summary>
</member>
<member name="F:DG.Tweening.Core.Enums.NestedTweenFailureBehaviour.KillWholeSequence">
<summary>Kill the whole Sequence</summary>
</member>
<member name="T:DG.Tweening.Core.Enums.UpdateNotice">
<summary>
Additional notices passed to plugins when updating.
@ -179,6 +190,26 @@
Public only so custom shortcuts can access some of these methods
</summary>
</member>
<member name="M:DG.Tweening.Core.Extensions.SetSpecialStartupMode``1(``0,DG.Tweening.Core.Enums.SpecialStartupMode)">
<summary>
INTERNAL: used by DO shortcuts and Modules to set special startup mode
</summary>
</member>
<member name="M:DG.Tweening.Core.Extensions.Blendable``3(DG.Tweening.Core.TweenerCore{``0,``1,``2})">
<summary>
INTERNAL: used by DO shortcuts and Modules to set the tween as blendable
</summary>
</member>
<member name="M:DG.Tweening.Core.Extensions.NoFrom``3(DG.Tweening.Core.TweenerCore{``0,``1,``2})">
<summary>
INTERNAL: used by DO shortcuts and Modules to prevent a tween from using a From setup even if passed
</summary>
</member>
<member name="T:DG.Tweening.Core.DOTweenExternalCommand">
<summary>
Used to dispatch commands that need to be captured externally, usually by Modules
</summary>
</member>
<member name="M:DG.Tweening.Core.Utils.Vector3FromAngle(System.Single,System.Single)">
<summary>
Returns a Vector3 with z = 0
@ -195,6 +226,37 @@
because the latter fails (in some cases) when assigning a Vector3 to a transform.position and then checking it.
</summary>
</member>
<member name="M:DG.Tweening.Core.Utils.GetLooseScriptType(System.String)">
<summary>
Looks for the type within all possible project assembly names
</summary>
</member>
<member name="M:DG.Tweening.Core.TweenerCore`3.ChangeStartValue(`1,System.Single)">
<summary>NO-GC METHOD: changes the start value of a tween and rewinds it (without pausing it).
Has no effect with tweens that are inside Sequences</summary>
<param name="newStartValue">The new start value</param>
<param name="newDuration">If bigger than 0 applies it as the new tween duration</param>
</member>
<member name="M:DG.Tweening.Core.TweenerCore`3.ChangeEndValue(`1,System.Boolean)">
<summary>NO-GC METHOD: changes the end value of a tween and rewinds it (without pausing it).
Has no effect with tweens that are inside Sequences</summary>
<param name="newEndValue">The new end value</param>
<param name="snapStartValue">If TRUE the start value will become the current target's value, otherwise it will stay the same</param>
</member>
<member name="M:DG.Tweening.Core.TweenerCore`3.ChangeEndValue(`1,System.Single,System.Boolean)">
<summary>NO-GC METHOD: changes the end value of a tween and rewinds it (without pausing it).
Has no effect with tweens that are inside Sequences</summary>
<param name="newEndValue">The new end value</param>
<param name="newDuration">If bigger than 0 applies it as the new tween duration</param>
<param name="snapStartValue">If TRUE the start value will become the current target's value, otherwise it will stay the same</param>
</member>
<member name="M:DG.Tweening.Core.TweenerCore`3.ChangeValues(`1,`1,System.Single)">
<summary>NO-GC METHOD: changes the start and end value of a tween and rewinds it (without pausing it).
Has no effect with tweens that are inside Sequences</summary>
<param name="newStartValue">The new start value</param>
<param name="newEndValue">The new end value</param>
<param name="newDuration">If bigger than 0 applies it as the new tween duration</param>
</member>
<member name="T:DG.Tweening.Color2">
<summary>
Struct that stores two colors (used for LineRenderer tweens)
@ -237,6 +299,9 @@
<member name="M:DG.Tweening.CustomPlugins.PureQuaternionPlugin.SetFrom(DG.Tweening.Core.TweenerCore{UnityEngine.Quaternion,UnityEngine.Quaternion,DG.Tweening.Plugins.Options.NoOptions},System.Boolean)">
<summary>INTERNAL: do not use</summary>
</member>
<member name="M:DG.Tweening.CustomPlugins.PureQuaternionPlugin.SetFrom(DG.Tweening.Core.TweenerCore{UnityEngine.Quaternion,UnityEngine.Quaternion,DG.Tweening.Plugins.Options.NoOptions},UnityEngine.Quaternion,System.Boolean)">
<summary>INTERNAL: do not use</summary>
</member>
<member name="M:DG.Tweening.CustomPlugins.PureQuaternionPlugin.ConvertToStartValue(DG.Tweening.Core.TweenerCore{UnityEngine.Quaternion,UnityEngine.Quaternion,DG.Tweening.Plugins.Options.NoOptions},UnityEngine.Quaternion)">
<summary>INTERNAL: do not use</summary>
</member>
@ -265,6 +330,10 @@
(like targets becoming null while a tween is playing).
<para>Default: TRUE</para></summary>
</member>
<member name="F:DG.Tweening.DOTween.nestedTweenFailureBehaviour">
<summary>Behaviour in case a tween nested inside a Sequence fails (caught by safe mode).
<para>Default: NestedTweenFailureBehaviour.TryToPreserveSequence</para></summary>
</member>
<member name="F:DG.Tweening.DOTween.showUnityEditorReport">
<summary>If TRUE you will get a DOTween report when exiting play mode (only in the Editor).
Useful to know how many max Tweeners and Sequences you reached and optimize your final project accordingly.
@ -291,6 +360,13 @@
<summary>DOTween's log behaviour.
<para>Default: LogBehaviour.ErrorsOnly</para></summary>
</member>
<member name="F:DG.Tweening.DOTween.onWillLog">
<summary>Used to intercept DOTween's logs. If this method isn't NULL, DOTween will call it before writing a log via Unity's own Debug log methods.<para/>
Return TRUE if you want DOTween to proceed with the log, FALSE otherwise.<para/>
This method must return a <code>bool</code> and accept two parameters:<para/>
- <code>LogType</code>: the type of Unity log that DOTween is trying to log<para/>
- <code>object</code>: the log message that DOTween wants to log</summary>
</member>
<member name="F:DG.Tweening.DOTween.drawGizmos">
<summary>If TRUE draws path gizmos in Unity Editor (if the gizmos button is active).
Deactivate this if you want to avoid gizmos overhead while in Unity Editor</summary>
@ -331,6 +407,9 @@
<summary>Default period used for eases
<para>Default: 0</para></summary>
</member>
<member name="F:DG.Tweening.DOTween.instance">
<summary>Used internally. Assigned/removed by DOTweenComponent.Create/DestroyInstance</summary>
</member>
<member name="M:DG.Tweening.DOTween.Init(System.Nullable{System.Boolean},System.Nullable{System.Boolean},System.Nullable{DG.Tweening.LogBehaviour})">
<summary>
Must be called once, before the first ever DOTween call/reference,
@ -899,6 +978,32 @@
<param name="sequencesCapacity">Max Sequences capacity.
Default: 50</param>
</member>
<member name="T:DG.Tweening.LinkBehaviour">
<summary>
Behaviour that can be assigned when chaining a SetLink to a tween
</summary>
</member>
<member name="F:DG.Tweening.LinkBehaviour.PauseOnDisable">
<summary>Pauses the tween when the link target is disabled</summary>
</member>
<member name="F:DG.Tweening.LinkBehaviour.PauseOnDisablePlayOnEnable">
<summary>Pauses the tween when the link target is disabled, plays it when it's enabled</summary>
</member>
<member name="F:DG.Tweening.LinkBehaviour.PauseOnDisableRestartOnEnable">
<summary>Pauses the tween when the link target is disabled, restarts it when it's enabled</summary>
</member>
<member name="F:DG.Tweening.LinkBehaviour.PlayOnEnable">
<summary>Plays the tween when the link target is enabled</summary>
</member>
<member name="F:DG.Tweening.LinkBehaviour.RestartOnEnable">
<summary>Restarts the tween when the link target is enabled</summary>
</member>
<member name="F:DG.Tweening.LinkBehaviour.KillOnDisable">
<summary>Kills the tween when the link target is disabled</summary>
</member>
<member name="F:DG.Tweening.LinkBehaviour.KillOnDestroy">
<summary>Kills the tween when the link target is destroyed (becomes NULL). This is always active even if another behaviour is chosen</summary>
</member>
<member name="T:DG.Tweening.PathMode">
<summary>
Path mode (used to determine correct LookAt orientation)
@ -927,6 +1032,9 @@
<member name="F:DG.Tweening.PathType.CatmullRom">
<summary>Curved path (which uses Catmull-Rom curves)</summary>
</member>
<member name="F:DG.Tweening.PathType.CubicBezier">
<summary><code>EXPERIMENTAL: </code>Curved path (which uses Cubic Bezier curves, where each point requires two extra control points)</summary>
</member>
<member name="T:DG.Tweening.Plugins.Core.PathCore.ControlPoint">
<summary>
Path control point
@ -1239,16 +1347,6 @@
Methods that extend known Unity objects and allow to directly create and control tweens from their instances
</summary>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOFade(UnityEngine.AudioSource,System.Single,System.Single)">
<summary>Tweens an AudioSource's volume to the given value.
Also stores the AudioSource 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>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOPitch(UnityEngine.AudioSource,System.Single,System.Single)">
<summary>Tweens an AudioSource's pitch to the given value.
Also stores the AudioSource 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>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOAspect(UnityEngine.Camera,System.Single,System.Single)">
<summary>Tweens a Camera's <code>aspect</code> to the given value.
Also stores the camera as the tween's target so it can be used for filtered operations</summary>
@ -1364,6 +1462,13 @@
<param name="property">The name of the material property to tween (like _Tint or _SpecColor)</param>
<param name="duration">The duration of the tween</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOColor(UnityEngine.Material,UnityEngine.Color,System.Int32,System.Single)">
<summary>Tweens a Material's named color property with the given ID to the given value.
Also stores the material 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="propertyID">The ID of the material property to tween (also called nameID in Unity's manual)</param>
<param name="duration">The duration of the tween</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOFade(UnityEngine.Material,System.Single,System.Single)">
<summary>Tweens a Material's alpha color to the given value
(will have no effect unless your material supports transparency).
@ -1378,6 +1483,14 @@
<param name="property">The name of the material property to tween (like _Tint or _SpecColor)</param>
<param name="duration">The duration of the tween</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOFade(UnityEngine.Material,System.Single,System.Int32,System.Single)">
<summary>Tweens a Material's alpha color with the given ID to the given value
(will have no effect unless your material supports transparency).
Also stores the material 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="propertyID">The ID of the material property to tween (also called nameID in Unity's manual)</param>
<param name="duration">The duration of the tween</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOFloat(UnityEngine.Material,System.Single,System.String,System.Single)">
<summary>Tweens a Material's named float property to the given value.
Also stores the material as the tween's target so it can be used for filtered operations</summary>
@ -1385,6 +1498,13 @@
<param name="property">The name of the material property to tween</param>
<param name="duration">The duration of the tween</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOFloat(UnityEngine.Material,System.Single,System.Int32,System.Single)">
<summary>Tweens a Material's named float property with the given ID to the given value.
Also stores the material 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="propertyID">The ID of the material property to tween (also called nameID in Unity's manual)</param>
<param name="duration">The duration of the tween</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOOffset(UnityEngine.Material,UnityEngine.Vector2,System.Single)">
<summary>Tweens a Material's texture offset to the given value.
Also stores the material as the tween's target so it can be used for filtered operations</summary>
@ -1418,80 +1538,12 @@
<param name="property">The name of the material property to tween</param>
<param name="duration">The duration of the tween</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOMove(UnityEngine.Rigidbody,UnityEngine.Vector3,System.Single,System.Boolean)">
<summary>Tweens a Rigidbody's position to the given value.
Also stores the rigidbody 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="snapping">If TRUE the tween will smoothly snap all values to integers</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOMoveX(UnityEngine.Rigidbody,System.Single,System.Single,System.Boolean)">
<summary>Tweens a Rigidbody's X position to the given value.
Also stores the rigidbody 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="snapping">If TRUE the tween will smoothly snap all values to integers</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOMoveY(UnityEngine.Rigidbody,System.Single,System.Single,System.Boolean)">
<summary>Tweens a Rigidbody's Y position to the given value.
Also stores the rigidbody 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="snapping">If TRUE the tween will smoothly snap all values to integers</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOMoveZ(UnityEngine.Rigidbody,System.Single,System.Single,System.Boolean)">
<summary>Tweens a Rigidbody's Z position to the given value.
Also stores the rigidbody 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="snapping">If TRUE the tween will smoothly snap all values to integers</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DORotate(UnityEngine.Rigidbody,UnityEngine.Vector3,System.Single,DG.Tweening.RotateMode)">
<summary>Tweens a Rigidbody's rotation to the given value.
Also stores the rigidbody 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="mode">Rotation mode</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOLookAt(UnityEngine.Rigidbody,UnityEngine.Vector3,System.Single,DG.Tweening.AxisConstraint,System.Nullable{UnityEngine.Vector3})">
<summary>Tweens a Rigidbody's rotation so that it will look towards the given position.
Also stores the rigidbody as the tween's target so it can be used for filtered operations</summary>
<param name="towards">The position to look at</param><param name="duration">The duration of the tween</param>
<param name="axisConstraint">Eventual axis constraint for the rotation</param>
<param name="up">The vector that defines in which direction up is (default: Vector3.up)</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOJump(UnityEngine.Rigidbody,UnityEngine.Vector3,System.Single,System.Int32,System.Single,System.Boolean)">
<summary>Tweens a Rigidbody'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 Rigidbody as the tween's target so it can be used for filtered operations</summary>
<member name="M:DG.Tweening.ShortcutExtensions.DOVector(UnityEngine.Material,UnityEngine.Vector4,System.Int32,System.Single)">
<summary>Tweens a Material's named Vector property with the given ID to the given value.
Also stores the material 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="propertyID">The ID of the material property to tween (also called nameID in Unity's manual)</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.ShortcutExtensions.DOPath(UnityEngine.Rigidbody,UnityEngine.Vector3[],System.Single,DG.Tweening.PathType,DG.Tweening.PathMode,System.Int32,System.Nullable{UnityEngine.Color})">
<summary>Tweens a Rigidbody's position through the given path waypoints, using the chosen path algorithm.
Also stores the Rigidbody as the tween's target so it can be used for filtered operations.
<para>NOTE: to tween a rigidbody correctly it should be set to kinematic at least while being tweened.</para>
<para>BEWARE: doesn't work on Windows Phone store (waiting for Unity to fix their own bug).
If you plan to publish there you should use a regular transform.DOPath.</para></summary>
<param name="path">The waypoints to go through</param>
<param name="duration">The duration of the tween</param>
<param name="pathType">The type of path: Linear (straight path) or CatmullRom (curved CatmullRom path)</param>
<param name="pathMode">The path mode: 3D, side-scroller 2D, top-down 2D</param>
<param name="resolution">The resolution of the path (useless in case of Linear paths): higher resolutions make for more detailed curved paths but are more expensive.
Defaults to 10, but a value of 5 is usually enough if you don't have dramatic long curves between waypoints</param>
<param name="gizmoColor">The color of the path (shown when gizmos are active in the Play panel and the tween is running)</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOLocalPath(UnityEngine.Rigidbody,UnityEngine.Vector3[],System.Single,DG.Tweening.PathType,DG.Tweening.PathMode,System.Int32,System.Nullable{UnityEngine.Color})">
<summary>Tweens a Rigidbody's localPosition through the given path waypoints, using the chosen path algorithm.
Also stores the Rigidbody as the tween's target so it can be used for filtered operations
<para>NOTE: to tween a rigidbody correctly it should be set to kinematic at least while being tweened.</para>
<para>BEWARE: doesn't work on Windows Phone store (waiting for Unity to fix their own bug).
If you plan to publish there you should use a regular transform.DOLocalPath.</para></summary>
<param name="path">The waypoint to go through</param>
<param name="duration">The duration of the tween</param>
<param name="pathType">The type of path: Linear (straight path) or CatmullRom (curved CatmullRom path)</param>
<param name="pathMode">The path mode: 3D, side-scroller 2D, top-down 2D</param>
<param name="resolution">The resolution of the path: higher resolutions make for more detailed curved paths but are more expensive.
Defaults to 10, but a value of 5 is usually enough if you don't have dramatic long curves between waypoints</param>
<param name="gizmoColor">The color of the path (shown when gizmos are active in the Play panel and the tween is running)</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOResize(UnityEngine.TrailRenderer,System.Single,System.Single,System.Single)">
<summary>Tweens a TrailRenderer's startWidth/endWidth to the given value.
@ -1743,6 +1795,22 @@
Defaults to 10, but a value of 5 is usually enough if you don't have dramatic long curves between waypoints</param>
<param name="gizmoColor">The color of the path (shown when gizmos are active in the Play panel and the tween is running)</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOPath(UnityEngine.Transform,DG.Tweening.Plugins.Core.PathCore.Path,System.Single,DG.Tweening.PathMode)">
<summary>IMPORTANT: Unless you really know what you're doing, you should use the overload that accepts a Vector3 array instead.<para/>
Tweens a Transform's position via the given path.
Also stores the transform as the tween's target so it can be used for filtered operations</summary>
<param name="path">The path to use</param>
<param name="duration">The duration of the tween</param>
<param name="pathMode">The path mode: 3D, side-scroller 2D, top-down 2D</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOLocalPath(UnityEngine.Transform,DG.Tweening.Plugins.Core.PathCore.Path,System.Single,DG.Tweening.PathMode)">
<summary>IMPORTANT: Unless you really know what you're doing, you should use the overload that accepts a Vector3 array instead.<para/>
Tweens a Transform's localPosition via the given path.
Also stores the transform as the tween's target so it can be used for filtered operations</summary>
<param name="path">The path to use</param>
<param name="duration">The duration of the tween</param>
<param name="pathMode">The path mode: 3D, side-scroller 2D, top-down 2D</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOTimeScale(DG.Tweening.Tween,System.Single,System.Single)">
<summary>Tweens a Tween's timeScale to the given value.
Also stores the Tween as the tween's target so it can be used for filtered operations</summary>
@ -1771,6 +1839,15 @@
<param name="property">The name of the material property to tween (like _Tint or _SpecColor)</param>
<param name="duration">The duration of the tween</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOBlendableColor(UnityEngine.Material,UnityEngine.Color,System.Int32,System.Single)">
<summary>Tweens a Material's named color property with the given ID to the given value,
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.
Also stores the Material 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="propertyID">The ID of the material property to tween (also called nameID in Unity's manual)</param>
<param name="duration">The duration of the tween</param>
</member>
<member name="M:DG.Tweening.ShortcutExtensions.DOBlendableMoveBy(UnityEngine.Transform,UnityEngine.Vector3,System.Single,System.Boolean)">
<summary>Tweens a Transform's position BY the given value (as if you chained a <code>SetRelative</code>),
in a way that allows other DOBlendableMove tweens to work together on the same target,
@ -2126,12 +2203,12 @@
</summary>
</member>
<member name="M:DG.Tweening.TweenSettingsExtensions.SetAutoKill``1(``0)">
<summary>Sets the autoKill behaviour of the tween.
Has no effect if the tween has already started</summary>
<summary>Sets the autoKill behaviour of the tween to TRUE.
<code>Has no effect</code> if the tween has already started or if it's added to a Sequence</summary>
</member>
<member name="M:DG.Tweening.TweenSettingsExtensions.SetAutoKill``1(``0,System.Boolean)">
<summary>Sets the autoKill behaviour of the tween.
Has no effect if the tween has already started</summary>
<code>Has no effect</code> if the tween has already started or if it's added to a Sequence</summary>
<param name="autoKillOnCompletion">If TRUE the tween will be automatically killed when complete</param>
</member>
<member name="M:DG.Tweening.TweenSettingsExtensions.SetId``1(``0,System.Object)">
@ -2148,6 +2225,19 @@
Filtering via int is 4X faster than via object, 2X faster than via string (using the alternate object/string overloads)</summary>
<param name="intId">The int ID to assign to this tween.</param>
</member>
<member name="M:DG.Tweening.TweenSettingsExtensions.SetLink``1(``0,UnityEngine.GameObject)">
<summary>Allows to link this tween to a GameObject
so that it will be automatically killed when the GameObject is destroyed.
<code>Has no effect</code> if the tween is added to a Sequence</summary>
<param name="gameObject">The link target (unrelated to the target set via <code>SetTarget</code>)</param>
</member>
<member name="M:DG.Tweening.TweenSettingsExtensions.SetLink``1(``0,UnityEngine.GameObject,DG.Tweening.LinkBehaviour)">
<summary>Allows to link this tween to a GameObject and assign a behaviour depending on it.
This will also automatically kill the tween when the GameObject is destroyed.
<code>Has no effect</code> if the tween is added to a Sequence</summary>
<param name="gameObject">The link target (unrelated to the target set via <code>SetTarget</code>)</param>
<param name="behaviour">The behaviour to use (<see cref="F:DG.Tweening.LinkBehaviour.KillOnDestroy"/> is always evaluated even if you choose another one)</param>
</member>
<member name="M:DG.Tweening.TweenSettingsExtensions.SetTarget``1(``0,System.Object)">
<summary>Sets the target for the tween, which can then be used as a filter with DOTween's static methods.
<para>IMPORTANT: use it with caution. If you just want to set an ID for the tween use <code>SetId</code> instead.</para>
@ -2329,6 +2419,24 @@
then immediately sends the target to the previously set endValue.</summary>
<param name="isRelative">If TRUE the FROM value will be calculated as relative to the current one</param>
</member>
<member name="M:DG.Tweening.TweenSettingsExtensions.From``3(DG.Tweening.Core.TweenerCore{``0,``1,``2},``1,System.Boolean)">
<summary>Changes a TO tween into a FROM tween: sets the tween's starting value to the given one
and eventually sets the tween's target to that value immediately.</summary>
<param name="fromValue">Value to start from</param>
<param name="setImmediately">If TRUE sets the target to from value immediately, otherwise waits for the tween to start</param>
</member>
<member name="M:DG.Tweening.TweenSettingsExtensions.From(DG.Tweening.Core.TweenerCore{UnityEngine.Color,UnityEngine.Color,DG.Tweening.Plugins.Options.ColorOptions},System.Single,System.Boolean)">
<summary>Changes a TO tween into a FROM tween: sets the tween's starting value to the given one
and eventually sets the tween's target to that value immediately.</summary>
<param name="fromAlphaValue">Alpha value to start from (in case of Fade tweens)</param>
<param name="setImmediately">If TRUE sets the target to from value immediately, otherwise waits for the tween to start</param>
</member>
<member name="M:DG.Tweening.TweenSettingsExtensions.From(DG.Tweening.Core.TweenerCore{UnityEngine.Vector3,UnityEngine.Vector3,DG.Tweening.Plugins.Options.VectorOptions},System.Single,System.Boolean)">
<summary>Changes a TO tween into a FROM tween: sets the tween's starting value to the given one
and eventually sets the tween's target to that value immediately.</summary>
<param name="fromValue">Value to start from (in case of Vector tweens that act on a single coordinate or scale tweens)</param>
<param name="setImmediately">If TRUE sets the target to from value immediately, otherwise waits for the tween to start</param>
</member>
<member name="M:DG.Tweening.TweenSettingsExtensions.SetDelay``1(``0,System.Single)">
<summary>Sets a delayed startup for the tween.
<para>Has no effect on Sequences or if the tween has already started</para></summary>
@ -2493,7 +2601,7 @@
Default is -999 so avoid using an ID like that or it will capture all unset intIds</summary>
</member>
<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 shortcuts</summary>
</member>
<member name="F:DG.Tweening.Tween.onPlay">
<summary>Called when the tween is set in a playing state, after any eventual delay.
@ -2523,9 +2631,21 @@
<member name="F:DG.Tweening.Tween.onWaypointChange">
<summary>Called when a path tween's current waypoint changes</summary>
</member>
<member name="P:DG.Tweening.Tween.isRelative">
<summary>Tweeners-only (ignored by Sequences), returns TRUE if the tween was set as relative</summary>
</member>
<member name="P:DG.Tweening.Tween.active">
<summary>FALSE when tween is (or should be) despawned - set only by TweenManager</summary>
</member>
<member name="P:DG.Tweening.Tween.fullPosition">
<summary>Gets and sets the time position (loops included, delays excluded) of the tween</summary>
</member>
<member name="P:DG.Tweening.Tween.playedOnce">
<summary>TRUE after the tween was set in a play state at least once, AFTER any delay is elapsed</summary>
</member>
<member name="P:DG.Tweening.Tween.position">
<summary>Time position within a single loop cycle</summary>
</member>
<member name="T:DG.Tweening.Tweener">
<summary>
Animates a single value

View File

@ -4,37 +4,58 @@
<name>DOTweenEditor</name>
</assembly>
<members>
<member name="M:DG.DOTweenEditor.Core.EditorUtils.SetEditorTexture(UnityEngine.Texture2D,UnityEngine.FilterMode,System.Int32)">
<member name="M:DG.DOTweenEditor.DOTweenEditorPreview.Start(System.Action)">
<summary>
Starts the update loop of tween in the editor. Has no effect during playMode.
</summary>
<param name="onPreviewUpdated">Eventual callback to call after every update</param>
</member>
<member name="M:DG.DOTweenEditor.DOTweenEditorPreview.Stop(System.Boolean)">
<summary>
Stops the update loop and clears the onPreviewUpdated callback.
</summary>
<param name="resetTweenTargets">If TRUE also resets the tweened objects to their original state</param>
</member>
<member name="M:DG.DOTweenEditor.DOTweenEditorPreview.PrepareTweenForPreview(DG.Tweening.Tween,System.Boolean,System.Boolean,System.Boolean)">
<summary>
Readies the tween for editor preview by setting its UpdateType to Manual plus eventual extra settings.
</summary>
<param name="t">The tween to ready</param>
<param name="clearCallbacks">If TRUE (recommended) removes all callbacks (OnComplete/Rewind/etc)</param>
<param name="preventAutoKill">If TRUE prevents the tween from being auto-killed at completion</param>
<param name="andPlay">If TRUE starts playing the tween immediately</param>
</member>
<member name="M:DG.DOTweenEditor.EditorUtils.SetEditorTexture(UnityEngine.Texture2D,UnityEngine.FilterMode,System.Int32)">
<summary>
Checks that the given editor texture use the correct import settings,
and applies them if they're incorrect.
</summary>
</member>
<member name="M:DG.DOTweenEditor.Core.EditorUtils.DOTweenSetupRequired">
<member name="M:DG.DOTweenEditor.EditorUtils.DOTweenSetupRequired">
<summary>
Returns TRUE if addons setup is required.
Returns TRUE if setup is required
</summary>
</member>
<member name="M:DG.DOTweenEditor.Core.EditorUtils.AssetExists(System.String)">
<member name="M:DG.DOTweenEditor.EditorUtils.AssetExists(System.String)">
<summary>
Returns TRUE if the file/directory at the given path exists.
</summary>
<param name="adbPath">Path, relative to Unity's project folder</param>
<returns></returns>
</member>
<member name="M:DG.DOTweenEditor.Core.EditorUtils.ADBPathToFullPath(System.String)">
<member name="M:DG.DOTweenEditor.EditorUtils.ADBPathToFullPath(System.String)">
<summary>
Converts the given project-relative path to a full path,
with backward (\) slashes).
</summary>
</member>
<member name="M:DG.DOTweenEditor.Core.EditorUtils.FullPathToADBPath(System.String)">
<member name="M:DG.DOTweenEditor.EditorUtils.FullPathToADBPath(System.String)">
<summary>
Converts the given full path to a path usable with AssetDatabase methods
(relative to Unity's project folder, and with the correct Unity forward (/) slashes).
</summary>
</member>
<member name="M:DG.DOTweenEditor.Core.EditorUtils.ConnectToSourceAsset``1(System.String,System.Boolean)">
<member name="M:DG.DOTweenEditor.EditorUtils.ConnectToSourceAsset``1(System.String,System.Boolean)">
<summary>
Connects to a <see cref="T:UnityEngine.ScriptableObject"/> asset.
If the asset already exists at the given path, loads it and returns it.
@ -45,21 +66,33 @@
<param name="adbFilePath">File path (relative to Unity's project folder)</param>
<param name="createIfMissing">If TRUE and the requested asset doesn't exist, forces its creation</param>
</member>
<member name="M:DG.DOTweenEditor.Core.EditorUtils.GetAssemblyFilePath(System.Reflection.Assembly)">
<member name="M:DG.DOTweenEditor.EditorUtils.GetAssemblyFilePath(System.Reflection.Assembly)">
<summary>
Full path for the given loaded assembly, assembly file included
</summary>
</member>
<member name="T:DG.DOTweenEditor.DOTweenSetupMenuItem">
<member name="M:DG.DOTweenEditor.EditorUtils.AddGlobalDefine(System.String)">
<summary>
Adds the given global define if it's not already present
</summary>
</member>
<member name="M:DG.DOTweenEditor.EditorUtils.RemoveGlobalDefine(System.String)">
<summary>
Removes the given global define if it's present
</summary>
</member>
<member name="M:DG.DOTweenEditor.EditorUtils.HasGlobalDefine(System.String,System.Nullable{UnityEditor.BuildTargetGroup})">
<summary>
Returns TRUE if the given global define is present in all the <see cref="T:UnityEditor.BuildTargetGroup"/>
or only in the given <see cref="T:UnityEditor.BuildTargetGroup"/>, depending on passed parameters.<para/>
</summary>
<param name="id"></param>
<param name="buildTargetGroup"><see cref="T:UnityEditor.BuildTargetGroup"/>to use. Leave NULL to check in all of them.</param>
</member>
<member name="T:DG.DOTweenEditor.DOTweenDefines">
<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>
</doc>

View File

@ -1,8 +1,18 @@
DOTween and DOTween Pro are copyright (c) 2014 Daniele Giardini - Demigiant
DOTween and DOTween Pro are copyright (c) 2014-2018 Daniele Giardini - Demigiant
// IMPORTANT!!! /////////////////////////////////////////////
// Upgrading DOTween from versions older than 1.2.000 ///////
// (or DOTween Pro older than 1.0.000) //////////////////////
-------------------------------------------------------------
If you're upgrading your project from a version of DOTween older than 1.2.000 (or DOTween Pro older than 1.0.000) please follow these instructions carefully.
1) Import the new version in the same folder as the previous one, overwriting old files. A lot of errors will appear but don't worry
2) Close and reopen Unity (and your project). This is fundamental: skipping this step will cause a bloodbath
3) Open DOTween's Utility Panel (Tools > Demigiant > DOTween Utility Panel) if it doesn't open automatically, then press "Setup DOTween...": this will run the upgrade setup
4) From the Add/Remove Modules panel that opens, activate/deactivate Modules for Unity systems and for external assets (Pro version only)
// GET STARTED //////////////////////////////////////////////
- After importing a new DOTween update, select DOTween's Utility Panel from the Tools menu (if it doesn't open automatically) and press the "Setup DOTween..." button to set up additional features based on your Unity version.
- After importing a new DOTween update, select DOTween's Utility Panel from the "Tools/Demigiant" menu (if it doesn't open automatically) and press the "Setup DOTween..." button to activate/deactivate Modules. You can also access a Preferences Tab from there to choose default settings for DOTween.
- In your code, add "using DG.Tweening" to each class where you want to use DOTween.
- You're ready to tween. Check out the links below for full documentation and license info.
@ -12,7 +22,8 @@ DOTween and DOTween Pro are copyright (c) 2014 Daniele Giardini - Demigiant
DOTween website (documentation, examples, etc): http://dotween.demigiant.com
DOTween license: http://dotween.demigiant.com/license.php
DOTween repository (Google Code): https://code.google.com/p/dotween/
Demigiant website (documentation, examples, etc): http://www.demigiant.com
// NOTES //////////////////////////////////////////////////////
- DOTween's Utility Panel can be found under "Tools > DOTween Utility Panel" and also contains other useful options, plus a tab to set DOTween's preferences
- DOTween's Utility Panel can be found under "Tools > Demigiant > DOTween Utility Panel" and also contains other useful options, plus a tab to set DOTween's preferences

View File

@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 25e007bdbcd3d924b992ace777b1927f
timeCreated: 1554551713
timeCreated: 1560264001
licenseType: Pro
TextScriptImporter:
userData:

View File

@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 3022aac9cb773eb418831741c656efec
timeCreated: 1554551699
timeCreated: 1560263984
licenseType: Pro
DefaultImporter:
userData:

View File

@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 65bddc2573542404ca55aa12e6572a5f
timeCreated: 1554551705
timeCreated: 1560263991
licenseType: Pro
PluginImporter:
serializedVersion: 2

View File

@ -501,6 +501,10 @@ namespace DG.Tweening
/// Leave it to NULL (default) to use default ones</param>
public static TweenerCore<string, string, StringOptions> DOText(this Text target, string endValue, float duration, bool richTextEnabled = true, ScrambleMode scrambleMode = ScrambleMode.None, string scrambleChars = null)
{
if (endValue == null) {
if (Debugger.logPriority > 0) Debugger.LogWarning("You can't pass a NULL string to DOText: an empty string will be used instead to avoid errors");
endValue = "";
}
TweenerCore<string, string, StringOptions> t = DOTween.To(() => target.text, x => target.text = x, endValue, duration);
t.SetOptions(richTextEnabled, scrambleMode, scrambleChars)
.SetTarget(target);

View File

@ -11,16 +11,12 @@ using UnityEngine.UI;
public class TempTests : BrainBase
{
public Transform target;
public Text tf;
IEnumerator Start()
{
Sequence s = DOTween.Sequence().SetAutoKill(false)
.Join(target.DOMoveX(2, 1))
.Append(target.DOMoveY(2, 1));
yield return s.WaitForCompletion(true);
yield return new WaitForSeconds(0.8f);
s.PlayBackwards();
s.PlayForward();
tf.DOText(null, 1);
}
}

View File

@ -34,7 +34,7 @@ namespace DG.Tweening
public class DOTween
{
/// <summary>DOTween's version</summary>
public static readonly string Version = "1.2.251"; // Last version before modules: 1.1.755
public static readonly string Version = "1.2.252"; // Last version before modules: 1.1.755
///////////////////////////////////////////////
// Options ////////////////////////////////////

Binary file not shown.

View File

@ -501,6 +501,10 @@ namespace DG.Tweening
/// Leave it to NULL (default) to use default ones</param>
public static TweenerCore<string, string, StringOptions> DOText(this Text target, string endValue, float duration, bool richTextEnabled = true, ScrambleMode scrambleMode = ScrambleMode.None, string scrambleChars = null)
{
if (endValue == null) {
if (Debugger.logPriority > 0) Debugger.LogWarning("You can't pass a NULL string to DOText: an empty string will be used instead to avoid errors");
endValue = "";
}
TweenerCore<string, string, StringOptions> t = DOTween.To(() => target.text, x => target.text = x, endValue, duration);
t.SetOptions(richTextEnabled, scrambleMode, scrambleChars)
.SetTarget(target);