mirror of
https://github.com/Cardidi/dotween-upm-fork.git
synced 2026-03-04 06:39:15 +08:00
Minor descriptions changes
This commit is contained in:
parent
dc57c44ab7
commit
d63a502581
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -480,12 +480,12 @@ namespace DG.Tweening
|
|||||||
#region Path Tweens
|
#region Path Tweens
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Returns the a point on a path (returns <code>Vector3.zero</code> if this is not a path tween, if the tween is invalid, or if the path is not yet initialized),
|
/// Returns a point on a path based on the given path percentage
|
||||||
/// based on the given path percentage (0 to 1).
|
/// (returns <code>Vector3.zero</code> if this is not a path tween, if the tween is invalid, or if the path is not yet initialized)
|
||||||
/// A path is initialized after its tween starts, or immediately if the tween was created with the Path Editor (DOTween Pro feature).
|
/// A path is initialized after its tween starts, or immediately if the tween was created with the Path Editor (DOTween Pro feature).
|
||||||
/// You can force a path to be initialized by calling <code>myTween.ForceInit()</code>.
|
/// You can force a path to be initialized by calling <code>myTween.ForceInit()</code>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="pathPercentage">Percentage of the path on which to get the point (0 to 1)</param>
|
/// <param name="pathPercentage">Percentage of the path (0 to 1) on which to get the point</param>
|
||||||
public static Vector3 PathGetPoint(this Tween t, float pathPercentage)
|
public static Vector3 PathGetPoint(this Tween t, float pathPercentage)
|
||||||
{
|
{
|
||||||
if (pathPercentage > 1) pathPercentage = 1;
|
if (pathPercentage > 1) pathPercentage = 1;
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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