mirror of
https://github.com/Cardidi/dotween-upm-fork.git
synced 2025-12-20 09:16:02 +08:00
Tween event delegates are now public
+ Better descriptions for On[Callback] methods
This commit is contained in:
parent
186d408de0
commit
e9892b7704
@ -2161,43 +2161,43 @@
|
||||
<param name="isIndependentUpdate">If TRUE the tween will ignore Unity's Time.timeScale</param>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.OnStart``1(``0,DG.Tweening.TweenCallback)">
|
||||
<summary>Sets the onStart callback for the tween.
|
||||
<summary>Sets the <code>onStart</code> callback for the tween, clearing any previous <code>onStart</code> callback that was set.
|
||||
Called the first time the tween is set in a playing state, after any eventual delay</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.OnPlay``1(``0,DG.Tweening.TweenCallback)">
|
||||
<summary>Sets the onPlay callback for the tween.
|
||||
<summary>Sets the <code>onPlay</code> callback for the tween, clearing any previous <code>onPlay</code> callback that was set.
|
||||
Called when the tween is set in a playing state, after any eventual delay.
|
||||
Also called each time the tween resumes playing from a paused state</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.OnPause``1(``0,DG.Tweening.TweenCallback)">
|
||||
<summary>Sets the onPlay callback for the tween.
|
||||
<summary>Sets the <code>onPause</code> callback for the tween, clearing any previous <code>onPause</code> callback that was set.
|
||||
Called when the tween state changes from playing to paused.
|
||||
If the tween has autoKill set to FALSE, this is called also when the tween reaches completion.</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.OnRewind``1(``0,DG.Tweening.TweenCallback)">
|
||||
<summary>Sets the onRewind callback for the tween.
|
||||
<summary>Sets the <code>onRewind</code> callback for the tween, clearing any previous <code>onRewind</code> callback that was set.
|
||||
Called when the tween is rewinded,
|
||||
either by calling <code>Rewind</code> or by reaching the start position while playing backwards.
|
||||
Rewinding a tween that is already rewinded will not fire this callback</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.OnUpdate``1(``0,DG.Tweening.TweenCallback)">
|
||||
<summary>Sets the onUpdate callback for the tween.
|
||||
<summary>Sets the <code>onUpdate</code> callback for the tween, clearing any previous <code>onUpdate</code> callback that was set.
|
||||
Called each time the tween updates</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.OnStepComplete``1(``0,DG.Tweening.TweenCallback)">
|
||||
<summary>Sets the onStepComplete callback for the tween.
|
||||
<summary>Sets the <code>onStepComplete</code> callback for the tween, clearing any previous <code>onStepComplete</code> callback that was set.
|
||||
Called the moment the tween completes one loop cycle, even when going backwards</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.OnComplete``1(``0,DG.Tweening.TweenCallback)">
|
||||
<summary>Sets the onComplete callback for the tween.
|
||||
<summary>Sets the <code>onComplete</code> callback for the tween, clearing any previous <code>onComplete</code> callback that was set.
|
||||
Called the moment the tween reaches its final forward position, loops included</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.OnKill``1(``0,DG.Tweening.TweenCallback)">
|
||||
<summary>Sets the onKill callback for the tween.
|
||||
<summary>Sets the <code>onKill</code> callback for the tween, clearing any previous <code>onKill</code> callback that was set.
|
||||
Called the moment the tween is killed</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.OnWaypointChange``1(``0,DG.Tweening.TweenCallback{System.Int32})">
|
||||
<summary>Sets the onWaypointChange callback for the tween.
|
||||
<summary>Sets the <code>onWaypointChange</code> callback for the tween, clearing any previous <code>onWaypointChange</code> callback that was set.
|
||||
Called when a path tween's current waypoint changes</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.SetAs``1(``0,DG.Tweening.Tween)">
|
||||
|
||||
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.
@ -2161,43 +2161,43 @@
|
||||
<param name="isIndependentUpdate">If TRUE the tween will ignore Unity's Time.timeScale</param>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.OnStart``1(``0,DG.Tweening.TweenCallback)">
|
||||
<summary>Sets the onStart callback for the tween.
|
||||
<summary>Sets the <code>onStart</code> callback for the tween, clearing any previous <code>onStart</code> callback that was set.
|
||||
Called the first time the tween is set in a playing state, after any eventual delay</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.OnPlay``1(``0,DG.Tweening.TweenCallback)">
|
||||
<summary>Sets the onPlay callback for the tween.
|
||||
<summary>Sets the <code>onPlay</code> callback for the tween, clearing any previous <code>onPlay</code> callback that was set.
|
||||
Called when the tween is set in a playing state, after any eventual delay.
|
||||
Also called each time the tween resumes playing from a paused state</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.OnPause``1(``0,DG.Tweening.TweenCallback)">
|
||||
<summary>Sets the onPlay callback for the tween.
|
||||
<summary>Sets the <code>onPause</code> callback for the tween, clearing any previous <code>onPause</code> callback that was set.
|
||||
Called when the tween state changes from playing to paused.
|
||||
If the tween has autoKill set to FALSE, this is called also when the tween reaches completion.</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.OnRewind``1(``0,DG.Tweening.TweenCallback)">
|
||||
<summary>Sets the onRewind callback for the tween.
|
||||
<summary>Sets the <code>onRewind</code> callback for the tween, clearing any previous <code>onRewind</code> callback that was set.
|
||||
Called when the tween is rewinded,
|
||||
either by calling <code>Rewind</code> or by reaching the start position while playing backwards.
|
||||
Rewinding a tween that is already rewinded will not fire this callback</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.OnUpdate``1(``0,DG.Tweening.TweenCallback)">
|
||||
<summary>Sets the onUpdate callback for the tween.
|
||||
<summary>Sets the <code>onUpdate</code> callback for the tween, clearing any previous <code>onUpdate</code> callback that was set.
|
||||
Called each time the tween updates</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.OnStepComplete``1(``0,DG.Tweening.TweenCallback)">
|
||||
<summary>Sets the onStepComplete callback for the tween.
|
||||
<summary>Sets the <code>onStepComplete</code> callback for the tween, clearing any previous <code>onStepComplete</code> callback that was set.
|
||||
Called the moment the tween completes one loop cycle, even when going backwards</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.OnComplete``1(``0,DG.Tweening.TweenCallback)">
|
||||
<summary>Sets the onComplete callback for the tween.
|
||||
<summary>Sets the <code>onComplete</code> callback for the tween, clearing any previous <code>onComplete</code> callback that was set.
|
||||
Called the moment the tween reaches its final forward position, loops included</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.OnKill``1(``0,DG.Tweening.TweenCallback)">
|
||||
<summary>Sets the onKill callback for the tween.
|
||||
<summary>Sets the <code>onKill</code> callback for the tween, clearing any previous <code>onKill</code> callback that was set.
|
||||
Called the moment the tween is killed</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.OnWaypointChange``1(``0,DG.Tweening.TweenCallback{System.Int32})">
|
||||
<summary>Sets the onWaypointChange callback for the tween.
|
||||
<summary>Sets the <code>onWaypointChange</code> callback for the tween, clearing any previous <code>onWaypointChange</code> callback that was set.
|
||||
Called when a path tween's current waypoint changes</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.SetAs``1(``0,DG.Tweening.Tween)">
|
||||
|
||||
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.
@ -2161,43 +2161,43 @@
|
||||
<param name="isIndependentUpdate">If TRUE the tween will ignore Unity's Time.timeScale</param>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.OnStart``1(``0,DG.Tweening.TweenCallback)">
|
||||
<summary>Sets the onStart callback for the tween.
|
||||
<summary>Sets the <code>onStart</code> callback for the tween, clearing any previous <code>onStart</code> callback that was set.
|
||||
Called the first time the tween is set in a playing state, after any eventual delay</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.OnPlay``1(``0,DG.Tweening.TweenCallback)">
|
||||
<summary>Sets the onPlay callback for the tween.
|
||||
<summary>Sets the <code>onPlay</code> callback for the tween, clearing any previous <code>onPlay</code> callback that was set.
|
||||
Called when the tween is set in a playing state, after any eventual delay.
|
||||
Also called each time the tween resumes playing from a paused state</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.OnPause``1(``0,DG.Tweening.TweenCallback)">
|
||||
<summary>Sets the onPlay callback for the tween.
|
||||
<summary>Sets the <code>onPause</code> callback for the tween, clearing any previous <code>onPause</code> callback that was set.
|
||||
Called when the tween state changes from playing to paused.
|
||||
If the tween has autoKill set to FALSE, this is called also when the tween reaches completion.</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.OnRewind``1(``0,DG.Tweening.TweenCallback)">
|
||||
<summary>Sets the onRewind callback for the tween.
|
||||
<summary>Sets the <code>onRewind</code> callback for the tween, clearing any previous <code>onRewind</code> callback that was set.
|
||||
Called when the tween is rewinded,
|
||||
either by calling <code>Rewind</code> or by reaching the start position while playing backwards.
|
||||
Rewinding a tween that is already rewinded will not fire this callback</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.OnUpdate``1(``0,DG.Tweening.TweenCallback)">
|
||||
<summary>Sets the onUpdate callback for the tween.
|
||||
<summary>Sets the <code>onUpdate</code> callback for the tween, clearing any previous <code>onUpdate</code> callback that was set.
|
||||
Called each time the tween updates</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.OnStepComplete``1(``0,DG.Tweening.TweenCallback)">
|
||||
<summary>Sets the onStepComplete callback for the tween.
|
||||
<summary>Sets the <code>onStepComplete</code> callback for the tween, clearing any previous <code>onStepComplete</code> callback that was set.
|
||||
Called the moment the tween completes one loop cycle, even when going backwards</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.OnComplete``1(``0,DG.Tweening.TweenCallback)">
|
||||
<summary>Sets the onComplete callback for the tween.
|
||||
<summary>Sets the <code>onComplete</code> callback for the tween, clearing any previous <code>onComplete</code> callback that was set.
|
||||
Called the moment the tween reaches its final forward position, loops included</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.OnKill``1(``0,DG.Tweening.TweenCallback)">
|
||||
<summary>Sets the onKill callback for the tween.
|
||||
<summary>Sets the <code>onKill</code> callback for the tween, clearing any previous <code>onKill</code> callback that was set.
|
||||
Called the moment the tween is killed</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.OnWaypointChange``1(``0,DG.Tweening.TweenCallback{System.Int32})">
|
||||
<summary>Sets the onWaypointChange callback for the tween.
|
||||
<summary>Sets the <code>onWaypointChange</code> callback for the tween, clearing any previous <code>onWaypointChange</code> callback that was set.
|
||||
Called when a path tween's current waypoint changes</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.SetAs``1(``0,DG.Tweening.Tween)">
|
||||
|
||||
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.
39
UnityTests.Unity5/Assets/_Tests/Callbacks.cs
Normal file
39
UnityTests.Unity5/Assets/_Tests/Callbacks.cs
Normal file
@ -0,0 +1,39 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using DG.Tweening;
|
||||
|
||||
public class Callbacks : BrainBase
|
||||
{
|
||||
public Transform target;
|
||||
|
||||
Tween tween;
|
||||
|
||||
IEnumerator Start()
|
||||
{
|
||||
tween = target.DOMoveX(5, 5);
|
||||
yield return new WaitForSeconds(1f);
|
||||
|
||||
Debug.Log("Set OnUpdate");
|
||||
tween.OnUpdate(Update0);
|
||||
tween.onUpdate += Update1;
|
||||
yield return new WaitForSeconds(1);
|
||||
|
||||
Debug.Log("Clear OnUpdate0");
|
||||
tween.onUpdate -= Update0;
|
||||
yield return new WaitForSeconds(1);
|
||||
|
||||
Debug.Log("Clear OnUpdate");
|
||||
tween.OnUpdate(null);
|
||||
}
|
||||
|
||||
void Update0()
|
||||
{
|
||||
Debug.Log("UPDATE 0");
|
||||
}
|
||||
|
||||
void Update1()
|
||||
{
|
||||
Debug.Log(" UPDATE 1");
|
||||
}
|
||||
}
|
||||
12
UnityTests.Unity5/Assets/_Tests/Callbacks.cs.meta
Normal file
12
UnityTests.Unity5/Assets/_Tests/Callbacks.cs.meta
Normal file
@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 17c1ba11ceda9f944bd3923a09ede1d2
|
||||
timeCreated: 1499872480
|
||||
licenseType: Pro
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
UnityTests.Unity5/Assets/_Tests/Callbacks.unity
Normal file
BIN
UnityTests.Unity5/Assets/_Tests/Callbacks.unity
Normal file
Binary file not shown.
8
UnityTests.Unity5/Assets/_Tests/Callbacks.unity.meta
Normal file
8
UnityTests.Unity5/Assets/_Tests/Callbacks.unity.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8baa97c0c36d73f45a8a22d0e04fd97e
|
||||
timeCreated: 1499872473
|
||||
licenseType: Pro
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@ -32,7 +32,7 @@ namespace DG.Tweening
|
||||
public class DOTween
|
||||
{
|
||||
/// <summary>DOTween's version</summary>
|
||||
public static readonly string Version = "1.1.610";
|
||||
public static readonly string Version = "1.1.615";
|
||||
|
||||
///////////////////////////////////////////////
|
||||
// Options ////////////////////////////////////
|
||||
|
||||
@ -33,24 +33,24 @@ namespace DG.Tweening
|
||||
// public TweenCallback onStart; // (in ABSSequentiable) When the tween is set in a PLAY state the first time, AFTER any eventual delay
|
||||
/// <summary>Called when the tween is set in a playing state, after any eventual delay.
|
||||
/// Also called each time the tween resumes playing from a paused state</summary>
|
||||
internal TweenCallback onPlay;
|
||||
public TweenCallback onPlay;
|
||||
/// <summary>Called when the tween state changes from playing to paused.
|
||||
/// If the tween has autoKill set to FALSE, this is called also when the tween reaches completion.</summary>
|
||||
internal TweenCallback onPause;
|
||||
public TweenCallback onPause;
|
||||
/// <summary>Called when the tween is rewinded,
|
||||
/// either by calling <code>Rewind</code> or by reaching the start position while playing backwards.
|
||||
/// Rewinding a tween that is already rewinded will not fire this callback</summary>
|
||||
internal TweenCallback onRewind;
|
||||
public TweenCallback onRewind;
|
||||
/// <summary>Called each time the tween updates</summary>
|
||||
internal TweenCallback onUpdate;
|
||||
public TweenCallback onUpdate;
|
||||
/// <summary>Called the moment the tween completes one loop cycle</summary>
|
||||
internal TweenCallback onStepComplete;
|
||||
public TweenCallback onStepComplete;
|
||||
/// <summary>Called the moment the tween reaches completion (loops included)</summary>
|
||||
internal TweenCallback onComplete;
|
||||
public TweenCallback onComplete;
|
||||
/// <summary>Called the moment the tween is killed</summary>
|
||||
internal TweenCallback onKill;
|
||||
public TweenCallback onKill;
|
||||
/// <summary>Called when a path tween's current waypoint changes</summary>
|
||||
internal TweenCallback<int> onWaypointChange;
|
||||
public TweenCallback<int> onWaypointChange;
|
||||
|
||||
// Fixed after creation
|
||||
internal bool isFrom; // Used to prevent settings like isRelative from being applied on From tweens
|
||||
|
||||
@ -232,7 +232,7 @@ namespace DG.Tweening
|
||||
return t;
|
||||
}
|
||||
|
||||
/// <summary>Sets the onStart callback for the tween.
|
||||
/// <summary>Sets the <code>onStart</code> callback for the tween, clearing any previous <code>onStart</code> callback that was set.
|
||||
/// Called the first time the tween is set in a playing state, after any eventual delay</summary>
|
||||
public static T OnStart<T>(this T t, TweenCallback action) where T : Tween
|
||||
{
|
||||
@ -242,7 +242,7 @@ namespace DG.Tweening
|
||||
return t;
|
||||
}
|
||||
|
||||
/// <summary>Sets the onPlay callback for the tween.
|
||||
/// <summary>Sets the <code>onPlay</code> callback for the tween, clearing any previous <code>onPlay</code> callback that was set.
|
||||
/// Called when the tween is set in a playing state, after any eventual delay.
|
||||
/// Also called each time the tween resumes playing from a paused state</summary>
|
||||
public static T OnPlay<T>(this T t, TweenCallback action) where T : Tween
|
||||
@ -253,7 +253,7 @@ namespace DG.Tweening
|
||||
return t;
|
||||
}
|
||||
|
||||
/// <summary>Sets the onPlay callback for the tween.
|
||||
/// <summary>Sets the <code>onPause</code> callback for the tween, clearing any previous <code>onPause</code> callback that was set.
|
||||
/// Called when the tween state changes from playing to paused.
|
||||
/// If the tween has autoKill set to FALSE, this is called also when the tween reaches completion.</summary>
|
||||
public static T OnPause<T>(this T t, TweenCallback action) where T : Tween
|
||||
@ -264,7 +264,7 @@ namespace DG.Tweening
|
||||
return t;
|
||||
}
|
||||
|
||||
/// <summary>Sets the onRewind callback for the tween.
|
||||
/// <summary>Sets the <code>onRewind</code> callback for the tween, clearing any previous <code>onRewind</code> callback that was set.
|
||||
/// Called when the tween is rewinded,
|
||||
/// either by calling <code>Rewind</code> or by reaching the start position while playing backwards.
|
||||
/// Rewinding a tween that is already rewinded will not fire this callback</summary>
|
||||
@ -276,7 +276,7 @@ namespace DG.Tweening
|
||||
return t;
|
||||
}
|
||||
|
||||
/// <summary>Sets the onUpdate callback for the tween.
|
||||
/// <summary>Sets the <code>onUpdate</code> callback for the tween, clearing any previous <code>onUpdate</code> callback that was set.
|
||||
/// Called each time the tween updates</summary>
|
||||
public static T OnUpdate<T>(this T t, TweenCallback action) where T : Tween
|
||||
{
|
||||
@ -286,7 +286,7 @@ namespace DG.Tweening
|
||||
return t;
|
||||
}
|
||||
|
||||
/// <summary>Sets the onStepComplete callback for the tween.
|
||||
/// <summary>Sets the <code>onStepComplete</code> callback for the tween, clearing any previous <code>onStepComplete</code> callback that was set.
|
||||
/// Called the moment the tween completes one loop cycle, even when going backwards</summary>
|
||||
public static T OnStepComplete<T>(this T t, TweenCallback action) where T : Tween
|
||||
{
|
||||
@ -296,7 +296,7 @@ namespace DG.Tweening
|
||||
return t;
|
||||
}
|
||||
|
||||
/// <summary>Sets the onComplete callback for the tween.
|
||||
/// <summary>Sets the <code>onComplete</code> callback for the tween, clearing any previous <code>onComplete</code> callback that was set.
|
||||
/// Called the moment the tween reaches its final forward position, loops included</summary>
|
||||
public static T OnComplete<T>(this T t, TweenCallback action) where T : Tween
|
||||
{
|
||||
@ -306,7 +306,7 @@ namespace DG.Tweening
|
||||
return t;
|
||||
}
|
||||
|
||||
/// <summary>Sets the onKill callback for the tween.
|
||||
/// <summary>Sets the <code>onKill</code> callback for the tween, clearing any previous <code>onKill</code> callback that was set.
|
||||
/// Called the moment the tween is killed</summary>
|
||||
public static T OnKill<T>(this T t, TweenCallback action) where T : Tween
|
||||
{
|
||||
@ -316,7 +316,7 @@ namespace DG.Tweening
|
||||
return t;
|
||||
}
|
||||
|
||||
/// <summary>Sets the onWaypointChange callback for the tween.
|
||||
/// <summary>Sets the <code>onWaypointChange</code> callback for the tween, clearing any previous <code>onWaypointChange</code> callback that was set.
|
||||
/// Called when a path tween's current waypoint changes</summary>
|
||||
public static T OnWaypointChange<T>(this T t, TweenCallback<int> action) where T : Tween
|
||||
{
|
||||
|
||||
@ -2161,43 +2161,43 @@
|
||||
<param name="isIndependentUpdate">If TRUE the tween will ignore Unity's Time.timeScale</param>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.OnStart``1(``0,DG.Tweening.TweenCallback)">
|
||||
<summary>Sets the onStart callback for the tween.
|
||||
<summary>Sets the <code>onStart</code> callback for the tween, clearing any previous <code>onStart</code> callback that was set.
|
||||
Called the first time the tween is set in a playing state, after any eventual delay</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.OnPlay``1(``0,DG.Tweening.TweenCallback)">
|
||||
<summary>Sets the onPlay callback for the tween.
|
||||
<summary>Sets the <code>onPlay</code> callback for the tween, clearing any previous <code>onPlay</code> callback that was set.
|
||||
Called when the tween is set in a playing state, after any eventual delay.
|
||||
Also called each time the tween resumes playing from a paused state</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.OnPause``1(``0,DG.Tweening.TweenCallback)">
|
||||
<summary>Sets the onPlay callback for the tween.
|
||||
<summary>Sets the <code>onPause</code> callback for the tween, clearing any previous <code>onPause</code> callback that was set.
|
||||
Called when the tween state changes from playing to paused.
|
||||
If the tween has autoKill set to FALSE, this is called also when the tween reaches completion.</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.OnRewind``1(``0,DG.Tweening.TweenCallback)">
|
||||
<summary>Sets the onRewind callback for the tween.
|
||||
<summary>Sets the <code>onRewind</code> callback for the tween, clearing any previous <code>onRewind</code> callback that was set.
|
||||
Called when the tween is rewinded,
|
||||
either by calling <code>Rewind</code> or by reaching the start position while playing backwards.
|
||||
Rewinding a tween that is already rewinded will not fire this callback</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.OnUpdate``1(``0,DG.Tweening.TweenCallback)">
|
||||
<summary>Sets the onUpdate callback for the tween.
|
||||
<summary>Sets the <code>onUpdate</code> callback for the tween, clearing any previous <code>onUpdate</code> callback that was set.
|
||||
Called each time the tween updates</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.OnStepComplete``1(``0,DG.Tweening.TweenCallback)">
|
||||
<summary>Sets the onStepComplete callback for the tween.
|
||||
<summary>Sets the <code>onStepComplete</code> callback for the tween, clearing any previous <code>onStepComplete</code> callback that was set.
|
||||
Called the moment the tween completes one loop cycle, even when going backwards</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.OnComplete``1(``0,DG.Tweening.TweenCallback)">
|
||||
<summary>Sets the onComplete callback for the tween.
|
||||
<summary>Sets the <code>onComplete</code> callback for the tween, clearing any previous <code>onComplete</code> callback that was set.
|
||||
Called the moment the tween reaches its final forward position, loops included</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.OnKill``1(``0,DG.Tweening.TweenCallback)">
|
||||
<summary>Sets the onKill callback for the tween.
|
||||
<summary>Sets the <code>onKill</code> callback for the tween, clearing any previous <code>onKill</code> callback that was set.
|
||||
Called the moment the tween is killed</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.OnWaypointChange``1(``0,DG.Tweening.TweenCallback{System.Int32})">
|
||||
<summary>Sets the onWaypointChange callback for the tween.
|
||||
<summary>Sets the <code>onWaypointChange</code> callback for the tween, clearing any previous <code>onWaypointChange</code> callback that was set.
|
||||
Called when a path tween's current waypoint changes</summary>
|
||||
</member>
|
||||
<member name="M:DG.Tweening.TweenSettingsExtensions.SetAs``1(``0,DG.Tweening.Tween)">
|
||||
|
||||
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