mirror of
https://github.com/Cardidi/dotween-upm-fork.git
synced 2025-12-20 09:16:02 +08:00
Added RectTransform.DOShakeAnchorPos
This commit is contained in:
parent
4f66d9ce4e
commit
54c8fd6ccb
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -91,6 +91,26 @@
|
|||||||
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="M:DG.Tweening.ShortcutExtensions.DOShakeAnchorPos(UnityEngine.RectTransform,System.Single,System.Single,System.Int32,System.Single,System.Boolean)">
|
||||||
|
<summary>Shakes a RectTransform's anchoredPosition with the given values.
|
||||||
|
Also stores the RectTransform as the tween's target so it can be used for filtered operations</summary>
|
||||||
|
<param name="duration">The duration of the tween</param>
|
||||||
|
<param name="strength">The shake strength</param>
|
||||||
|
<param name="vibrato">Indicates how much will the shake vibrate</param>
|
||||||
|
<param name="randomness">Indicates how much the shake will be random (0 to 180 - values higher than 90 kind of suck, so beware).
|
||||||
|
Setting it to 0 will shake along a single direction.</param>
|
||||||
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:DG.Tweening.ShortcutExtensions.DOShakeAnchorPos(UnityEngine.RectTransform,System.Single,UnityEngine.Vector2,System.Int32,System.Single,System.Boolean)">
|
||||||
|
<summary>Shakes a RectTransform's anchoredPosition with the given values.
|
||||||
|
Also stores the RectTransform as the tween's target so it can be used for filtered operations</summary>
|
||||||
|
<param name="duration">The duration of the tween</param>
|
||||||
|
<param name="strength">The shake strength on each axis</param>
|
||||||
|
<param name="vibrato">Indicates how much will the shake vibrate</param>
|
||||||
|
<param name="randomness">Indicates how much the shake will be random (0 to 180 - values higher than 90 kind of suck, so beware).
|
||||||
|
Setting it to 0 will shake along a single direction.</param>
|
||||||
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOValue(UnityEngine.UI.Slider,System.Single,System.Single,System.Boolean)">
|
<member name="M:DG.Tweening.ShortcutExtensions.DOValue(UnityEngine.UI.Slider,System.Single,System.Single,System.Boolean)">
|
||||||
<summary>Tweens a Slider's value to the given value.
|
<summary>Tweens a Slider's value to the given value.
|
||||||
Also stores the Slider as the tween's target so it can be used for filtered operations</summary>
|
Also stores the Slider as the tween's target so it can be used for filtered operations</summary>
|
||||||
|
|||||||
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.
@ -91,6 +91,26 @@
|
|||||||
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="M:DG.Tweening.ShortcutExtensions.DOShakeAnchorPos(UnityEngine.RectTransform,System.Single,System.Single,System.Int32,System.Single,System.Boolean)">
|
||||||
|
<summary>Shakes a RectTransform's anchoredPosition with the given values.
|
||||||
|
Also stores the RectTransform as the tween's target so it can be used for filtered operations</summary>
|
||||||
|
<param name="duration">The duration of the tween</param>
|
||||||
|
<param name="strength">The shake strength</param>
|
||||||
|
<param name="vibrato">Indicates how much will the shake vibrate</param>
|
||||||
|
<param name="randomness">Indicates how much the shake will be random (0 to 180 - values higher than 90 kind of suck, so beware).
|
||||||
|
Setting it to 0 will shake along a single direction.</param>
|
||||||
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:DG.Tweening.ShortcutExtensions.DOShakeAnchorPos(UnityEngine.RectTransform,System.Single,UnityEngine.Vector2,System.Int32,System.Single,System.Boolean)">
|
||||||
|
<summary>Shakes a RectTransform's anchoredPosition with the given values.
|
||||||
|
Also stores the RectTransform as the tween's target so it can be used for filtered operations</summary>
|
||||||
|
<param name="duration">The duration of the tween</param>
|
||||||
|
<param name="strength">The shake strength on each axis</param>
|
||||||
|
<param name="vibrato">Indicates how much will the shake vibrate</param>
|
||||||
|
<param name="randomness">Indicates how much the shake will be random (0 to 180 - values higher than 90 kind of suck, so beware).
|
||||||
|
Setting it to 0 will shake along a single direction.</param>
|
||||||
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOValue(UnityEngine.UI.Slider,System.Single,System.Single,System.Boolean)">
|
<member name="M:DG.Tweening.ShortcutExtensions.DOValue(UnityEngine.UI.Slider,System.Single,System.Single,System.Boolean)">
|
||||||
<summary>Tweens a Slider's value to the given value.
|
<summary>Tweens a Slider's value to the given value.
|
||||||
Also stores the Slider as the tween's target so it can be used for filtered operations</summary>
|
Also stores the Slider as the tween's target so it can be used for filtered operations</summary>
|
||||||
|
|||||||
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.
@ -91,6 +91,26 @@
|
|||||||
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="M:DG.Tweening.ShortcutExtensions.DOShakeAnchorPos(UnityEngine.RectTransform,System.Single,System.Single,System.Int32,System.Single,System.Boolean)">
|
||||||
|
<summary>Shakes a RectTransform's anchoredPosition with the given values.
|
||||||
|
Also stores the RectTransform as the tween's target so it can be used for filtered operations</summary>
|
||||||
|
<param name="duration">The duration of the tween</param>
|
||||||
|
<param name="strength">The shake strength</param>
|
||||||
|
<param name="vibrato">Indicates how much will the shake vibrate</param>
|
||||||
|
<param name="randomness">Indicates how much the shake will be random (0 to 180 - values higher than 90 kind of suck, so beware).
|
||||||
|
Setting it to 0 will shake along a single direction.</param>
|
||||||
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:DG.Tweening.ShortcutExtensions.DOShakeAnchorPos(UnityEngine.RectTransform,System.Single,UnityEngine.Vector2,System.Int32,System.Single,System.Boolean)">
|
||||||
|
<summary>Shakes a RectTransform's anchoredPosition with the given values.
|
||||||
|
Also stores the RectTransform as the tween's target so it can be used for filtered operations</summary>
|
||||||
|
<param name="duration">The duration of the tween</param>
|
||||||
|
<param name="strength">The shake strength on each axis</param>
|
||||||
|
<param name="vibrato">Indicates how much will the shake vibrate</param>
|
||||||
|
<param name="randomness">Indicates how much the shake will be random (0 to 180 - values higher than 90 kind of suck, so beware).
|
||||||
|
Setting it to 0 will shake along a single direction.</param>
|
||||||
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOValue(UnityEngine.UI.Slider,System.Single,System.Single,System.Boolean)">
|
<member name="M:DG.Tweening.ShortcutExtensions.DOValue(UnityEngine.UI.Slider,System.Single,System.Single,System.Boolean)">
|
||||||
<summary>Tweens a Slider's value to the given value.
|
<summary>Tweens a Slider's value to the given value.
|
||||||
Also stores the Slider as the tween's target so it can be used for filtered operations</summary>
|
Also stores the Slider as the tween's target so it can be used for filtered operations</summary>
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -10,6 +10,7 @@ public class UIMisc : BrainBase
|
|||||||
public Text text, textScramble;
|
public Text text, textScramble;
|
||||||
public RectTransform circleOutT, circleInT;
|
public RectTransform circleOutT, circleInT;
|
||||||
public RectTransform moveT;
|
public RectTransform moveT;
|
||||||
|
public RectTransform shakeT;
|
||||||
|
|
||||||
IEnumerator Start()
|
IEnumerator Start()
|
||||||
{
|
{
|
||||||
@ -36,6 +37,9 @@ public class UIMisc : BrainBase
|
|||||||
// moveT.DOMoveX(50, 1, true).SetRelative().SetEase(Ease.InOutQuad).SetLoops(-1, LoopType.Yoyo);
|
// moveT.DOMoveX(50, 1, true).SetRelative().SetEase(Ease.InOutQuad).SetLoops(-1, LoopType.Yoyo);
|
||||||
moveT.DOAnchorPos3D(new Vector2(50, 0), 1, true).SetRelative().SetEase(Ease.InOutQuad).SetLoops(-1, LoopType.Yoyo);
|
moveT.DOAnchorPos3D(new Vector2(50, 0), 1, true).SetRelative().SetEase(Ease.InOutQuad).SetLoops(-1, LoopType.Yoyo);
|
||||||
|
|
||||||
|
// Shake
|
||||||
|
shakeT.DOShakeAnchorPos(2, new Vector2(100, 10));
|
||||||
|
|
||||||
// Text
|
// Text
|
||||||
DOTween.Sequence()
|
DOTween.Sequence()
|
||||||
.AppendInterval(0.5f)
|
.AppendInterval(0.5f)
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -32,7 +32,7 @@ namespace DG.Tweening
|
|||||||
public class DOTween
|
public class DOTween
|
||||||
{
|
{
|
||||||
/// <summary>DOTween's version</summary>
|
/// <summary>DOTween's version</summary>
|
||||||
public static readonly string Version = "1.0.610";
|
public static readonly string Version = "1.0.615";
|
||||||
|
|
||||||
///////////////////////////////////////////////
|
///////////////////////////////////////////////
|
||||||
// Options ////////////////////////////////////
|
// Options ////////////////////////////////////
|
||||||
|
|||||||
@ -154,6 +154,8 @@ set BinDirUnity5Tests=UnityTests.Unity5\Assets\Demigiant\DOTween
|
|||||||
set DestinationDirUnity5Tests=$(SolutionDir)..\%25BinDirUnity5Tests%25
|
set DestinationDirUnity5Tests=$(SolutionDir)..\%25BinDirUnity5Tests%25
|
||||||
set BinDirCompatibilityTests=UnityCompatibilityTests.Unity35\Assets\Demigiant\DOTween
|
set BinDirCompatibilityTests=UnityCompatibilityTests.Unity35\Assets\Demigiant\DOTween
|
||||||
set DestinationDirCompatibilityTests=$(SolutionDir)..\%25BinDirCompatibilityTests%25
|
set DestinationDirCompatibilityTests=$(SolutionDir)..\%25BinDirCompatibilityTests%25
|
||||||
|
set BinDirExtPluginsTests=ExternalPluginsTestsAndExamples.Unity5\Assets\Demigiant\DOTween
|
||||||
|
set DestinationDirExtPluginsTests=$(SolutionDir)..\%25BinDirExtPluginsTests%25
|
||||||
|
|
||||||
echo %25DestinationDir%25
|
echo %25DestinationDir%25
|
||||||
|
|
||||||
@ -179,7 +181,10 @@ echo Exporting Assembly to %25DestinationDirUnity5Tests%25
|
|||||||
echo f | xcopy "$(SolutionDir)\bin" %25DestinationDirUnity5Tests%25 /Y /I /E
|
echo f | xcopy "$(SolutionDir)\bin" %25DestinationDirUnity5Tests%25 /Y /I /E
|
||||||
|
|
||||||
echo Exporting Assembly to %25DestinationDirCompatibilityTests%25
|
echo Exporting Assembly to %25DestinationDirCompatibilityTests%25
|
||||||
echo f | xcopy "$(SolutionDir)\bin" %25DestinationDirCompatibilityTests%25 /Y /I /E</PostBuildEvent>
|
echo f | xcopy "$(SolutionDir)\bin" %25DestinationDirCompatibilityTests%25 /Y /I /E
|
||||||
|
|
||||||
|
echo Exporting Assembly to %25DestinationDirExtPluginsTests%25
|
||||||
|
echo f | xcopy "$(SolutionDir)\bin" %25DestinationDirExtPluginsTests%25 /Y /I /E</PostBuildEvent>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
|
|||||||
@ -76,6 +76,8 @@ set BinDirUnity5Tests=UnityTests.Unity5\Assets\Demigiant\DOTween
|
|||||||
set DestinationDirUnity5Tests=$(SolutionDir)..\%25BinDirUnity5Tests%25
|
set DestinationDirUnity5Tests=$(SolutionDir)..\%25BinDirUnity5Tests%25
|
||||||
set BinDirCompatibilityTests=UnityCompatibilityTests.Unity35\Assets\Demigiant\DOTween
|
set BinDirCompatibilityTests=UnityCompatibilityTests.Unity35\Assets\Demigiant\DOTween
|
||||||
set DestinationDirCompatibilityTests=$(SolutionDir)..\%25BinDirCompatibilityTests%25
|
set DestinationDirCompatibilityTests=$(SolutionDir)..\%25BinDirCompatibilityTests%25
|
||||||
|
set BinDirExtPluginsTests=ExternalPluginsTestsAndExamples.Unity5\Assets\Demigiant\DOTween
|
||||||
|
set DestinationDirExtPluginsTests=$(SolutionDir)..\%25BinDirExtPluginsTests%25
|
||||||
|
|
||||||
echo %25DestinationDir%25
|
echo %25DestinationDir%25
|
||||||
|
|
||||||
@ -101,7 +103,10 @@ echo Exporting Assembly to %25DestinationDirUnity5Tests%25
|
|||||||
echo f | xcopy "$(SolutionDir)\bin" %25DestinationDirUnity5Tests%25 /Y /I /E
|
echo f | xcopy "$(SolutionDir)\bin" %25DestinationDirUnity5Tests%25 /Y /I /E
|
||||||
|
|
||||||
echo Exporting Assembly to %25DestinationDirCompatibilityTests%25
|
echo Exporting Assembly to %25DestinationDirCompatibilityTests%25
|
||||||
echo f | xcopy "$(SolutionDir)\bin" %25DestinationDirCompatibilityTests%25 /Y /I /E</PostBuildEvent>
|
echo f | xcopy "$(SolutionDir)\bin" %25DestinationDirCompatibilityTests%25 /Y /I /E
|
||||||
|
|
||||||
|
echo Exporting Assembly to %25DestinationDirExtPluginsTests%25
|
||||||
|
echo f | xcopy "$(SolutionDir)\bin" %25DestinationDirExtPluginsTests%25 /Y /I /E</PostBuildEvent>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
|
|||||||
@ -78,7 +78,8 @@ set BinDirUnity5Tests=UnityTests.Unity5\Assets\Demigiant\DOTween
|
|||||||
set DestinationDirUnity5Tests=$(SolutionDir)..\%25BinDirUnity5Tests%25
|
set DestinationDirUnity5Tests=$(SolutionDir)..\%25BinDirUnity5Tests%25
|
||||||
set BinDirCompatibilityTests=UnityCompatibilityTests.Unity35\Assets\Demigiant\DOTween
|
set BinDirCompatibilityTests=UnityCompatibilityTests.Unity35\Assets\Demigiant\DOTween
|
||||||
set DestinationDirCompatibilityTests=$(SolutionDir)..\%25BinDirCompatibilityTests%25
|
set DestinationDirCompatibilityTests=$(SolutionDir)..\%25BinDirCompatibilityTests%25
|
||||||
|
set BinDirExtPluginsTests=ExternalPluginsTestsAndExamples.Unity5\Assets\Demigiant\DOTween
|
||||||
|
set DestinationDirExtPluginsTests=$(SolutionDir)..\%25BinDirExtPluginsTests%25
|
||||||
echo %25DestinationDir%25
|
echo %25DestinationDir%25
|
||||||
|
|
||||||
echo Deleting TMPs...
|
echo Deleting TMPs...
|
||||||
@ -103,7 +104,10 @@ echo Exporting Assembly to %25DestinationDirUnity5Tests%25
|
|||||||
echo f | xcopy "$(SolutionDir)\bin" %25DestinationDirUnity5Tests%25 /Y /I /E
|
echo f | xcopy "$(SolutionDir)\bin" %25DestinationDirUnity5Tests%25 /Y /I /E
|
||||||
|
|
||||||
echo Exporting Assembly to %25DestinationDirCompatibilityTests%25
|
echo Exporting Assembly to %25DestinationDirCompatibilityTests%25
|
||||||
echo f | xcopy "$(SolutionDir)\bin" %25DestinationDirCompatibilityTests%25 /Y /I /E</PostBuildEvent>
|
echo f | xcopy "$(SolutionDir)\bin" %25DestinationDirCompatibilityTests%25 /Y /I /E
|
||||||
|
|
||||||
|
echo Exporting Assembly to %25DestinationDirExtPluginsTests%25
|
||||||
|
echo f | xcopy "$(SolutionDir)\bin" %25DestinationDirExtPluginsTests%25 /Y /I /E</PostBuildEvent>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
|
|||||||
@ -5,6 +5,7 @@
|
|||||||
// This work is subject to the terms at http://dotween.demigiant.com/license.php
|
// This work is subject to the terms at http://dotween.demigiant.com/license.php
|
||||||
|
|
||||||
using DG.Tweening.Core;
|
using DG.Tweening.Core;
|
||||||
|
using DG.Tweening.Core.Enums;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.UI;
|
using UnityEngine.UI;
|
||||||
|
|
||||||
@ -204,6 +205,33 @@ namespace DG.Tweening
|
|||||||
.SetOptions(snapping).SetTarget(target);
|
.SetOptions(snapping).SetTarget(target);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>Shakes a RectTransform's anchoredPosition with the given values.
|
||||||
|
/// Also stores the RectTransform as the tween's target so it can be used for filtered operations</summary>
|
||||||
|
/// <param name="duration">The duration of the tween</param>
|
||||||
|
/// <param name="strength">The shake strength</param>
|
||||||
|
/// <param name="vibrato">Indicates how much will the shake vibrate</param>
|
||||||
|
/// <param name="randomness">Indicates how much the shake will be random (0 to 180 - values higher than 90 kind of suck, so beware).
|
||||||
|
/// Setting it to 0 will shake along a single direction.</param>
|
||||||
|
/// <param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
|
public static Tweener DOShakeAnchorPos(this RectTransform target, float duration, float strength = 100, int vibrato = 10, float randomness = 90, bool snapping = false)
|
||||||
|
{
|
||||||
|
return DOTween.Shake(() => target.anchoredPosition, x => target.anchoredPosition = x, duration, strength, vibrato, randomness, true)
|
||||||
|
.SetTarget(target).SetSpecialStartupMode(SpecialStartupMode.SetShake).SetOptions(snapping);
|
||||||
|
}
|
||||||
|
/// <summary>Shakes a RectTransform's anchoredPosition with the given values.
|
||||||
|
/// Also stores the RectTransform as the tween's target so it can be used for filtered operations</summary>
|
||||||
|
/// <param name="duration">The duration of the tween</param>
|
||||||
|
/// <param name="strength">The shake strength on each axis</param>
|
||||||
|
/// <param name="vibrato">Indicates how much will the shake vibrate</param>
|
||||||
|
/// <param name="randomness">Indicates how much the shake will be random (0 to 180 - values higher than 90 kind of suck, so beware).
|
||||||
|
/// Setting it to 0 will shake along a single direction.</param>
|
||||||
|
/// <param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
|
public static Tweener DOShakeAnchorPos(this RectTransform target, float duration, Vector2 strength, int vibrato = 10, float randomness = 90, bool snapping = false)
|
||||||
|
{
|
||||||
|
return DOTween.Shake(() => target.anchoredPosition, x => target.anchoredPosition = x, duration, strength, vibrato, randomness)
|
||||||
|
.SetTarget(target).SetSpecialStartupMode(SpecialStartupMode.SetShake).SetOptions(snapping);
|
||||||
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Slider
|
#region Slider
|
||||||
|
|||||||
@ -74,6 +74,8 @@ set BinDirUnity5Tests=UnityTests.Unity5\Assets\Demigiant\DOTween
|
|||||||
set DestinationDirUnity5Tests=$(SolutionDir)..\%25BinDirUnity5Tests%25
|
set DestinationDirUnity5Tests=$(SolutionDir)..\%25BinDirUnity5Tests%25
|
||||||
set BinDirCompatibilityTests=UnityCompatibilityTests.Unity35\Assets\Demigiant\DOTween
|
set BinDirCompatibilityTests=UnityCompatibilityTests.Unity35\Assets\Demigiant\DOTween
|
||||||
set DestinationDirCompatibilityTests=$(SolutionDir)..\%25BinDirCompatibilityTests%25
|
set DestinationDirCompatibilityTests=$(SolutionDir)..\%25BinDirCompatibilityTests%25
|
||||||
|
set BinDirExtPluginsTests=ExternalPluginsTestsAndExamples.Unity5\Assets\Demigiant\DOTween
|
||||||
|
set DestinationDirExtPluginsTests=$(SolutionDir)..\%25BinDirExtPluginsTests%25
|
||||||
|
|
||||||
echo %25DestinationDir%25
|
echo %25DestinationDir%25
|
||||||
|
|
||||||
@ -99,7 +101,10 @@ echo Exporting Assembly to %25DestinationDirUnity5Tests%25
|
|||||||
echo f | xcopy "$(SolutionDir)\bin" %25DestinationDirUnity5Tests%25 /Y /I /E
|
echo f | xcopy "$(SolutionDir)\bin" %25DestinationDirUnity5Tests%25 /Y /I /E
|
||||||
|
|
||||||
echo Exporting Assembly to %25DestinationDirCompatibilityTests%25
|
echo Exporting Assembly to %25DestinationDirCompatibilityTests%25
|
||||||
echo f | xcopy "$(SolutionDir)\bin" %25DestinationDirCompatibilityTests%25 /Y /I /E</PostBuildEvent>
|
echo f | xcopy "$(SolutionDir)\bin" %25DestinationDirCompatibilityTests%25 /Y /I /E
|
||||||
|
|
||||||
|
echo Exporting Assembly to %25DestinationDirExtPluginsTests%25
|
||||||
|
echo f | xcopy "$(SolutionDir)\bin" %25DestinationDirExtPluginsTests%25 /Y /I /E</PostBuildEvent>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
|
|||||||
@ -86,6 +86,8 @@ set BinDirUnity5Tests=UnityTests.Unity5\Assets\Demigiant\DOTween\Editor
|
|||||||
set DestinationDirUnity5Tests=$(SolutionDir)..\%25BinDirUnity5Tests%25
|
set DestinationDirUnity5Tests=$(SolutionDir)..\%25BinDirUnity5Tests%25
|
||||||
set BinDirCompatibilityTests=UnityCompatibilityTests.Unity35\Assets\Demigiant\DOTween\Editor
|
set BinDirCompatibilityTests=UnityCompatibilityTests.Unity35\Assets\Demigiant\DOTween\Editor
|
||||||
set DestinationDirCompatibilityTests=$(SolutionDir)..\%25BinDirCompatibilityTests%25
|
set DestinationDirCompatibilityTests=$(SolutionDir)..\%25BinDirCompatibilityTests%25
|
||||||
|
set BinDirExtPluginsTests=ExternalPluginsTestsAndExamples.Unity5\Assets\Demigiant\DOTween\Editor
|
||||||
|
set DestinationDirExtPluginsTests=$(SolutionDir)..\%25BinDirExtPluginsTests%25
|
||||||
|
|
||||||
echo %25DestinationDir%25
|
echo %25DestinationDir%25
|
||||||
|
|
||||||
@ -111,7 +113,10 @@ echo Exporting Assembly to %25DestinationDirUnity5Tests%25
|
|||||||
echo f | xcopy "$(SolutionDir)\bin\Editor" %25DestinationDirUnity5Tests%25 /Y /I /E
|
echo f | xcopy "$(SolutionDir)\bin\Editor" %25DestinationDirUnity5Tests%25 /Y /I /E
|
||||||
|
|
||||||
echo Exporting Assembly to %25DestinationDirCompatibilityTests%25
|
echo Exporting Assembly to %25DestinationDirCompatibilityTests%25
|
||||||
echo f | xcopy "$(SolutionDir)\bin\Editor" %25DestinationDirCompatibilityTests%25 /Y /I /E</PostBuildEvent>
|
echo f | xcopy "$(SolutionDir)\bin\Editor" %25DestinationDirCompatibilityTests%25 /Y /I /E
|
||||||
|
|
||||||
|
echo Exporting Assembly to %25DestinationDirExtPluginsTests%25
|
||||||
|
echo f | xcopy "$(SolutionDir)\bin\Editor" %25DestinationDirExtPluginsTests%25 /Y /I /E</PostBuildEvent>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -91,6 +91,26 @@
|
|||||||
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
<param name="endValue">The end value to reach</param><param name="duration">The duration of the tween</param>
|
||||||
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="M:DG.Tweening.ShortcutExtensions.DOShakeAnchorPos(UnityEngine.RectTransform,System.Single,System.Single,System.Int32,System.Single,System.Boolean)">
|
||||||
|
<summary>Shakes a RectTransform's anchoredPosition with the given values.
|
||||||
|
Also stores the RectTransform as the tween's target so it can be used for filtered operations</summary>
|
||||||
|
<param name="duration">The duration of the tween</param>
|
||||||
|
<param name="strength">The shake strength</param>
|
||||||
|
<param name="vibrato">Indicates how much will the shake vibrate</param>
|
||||||
|
<param name="randomness">Indicates how much the shake will be random (0 to 180 - values higher than 90 kind of suck, so beware).
|
||||||
|
Setting it to 0 will shake along a single direction.</param>
|
||||||
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:DG.Tweening.ShortcutExtensions.DOShakeAnchorPos(UnityEngine.RectTransform,System.Single,UnityEngine.Vector2,System.Int32,System.Single,System.Boolean)">
|
||||||
|
<summary>Shakes a RectTransform's anchoredPosition with the given values.
|
||||||
|
Also stores the RectTransform as the tween's target so it can be used for filtered operations</summary>
|
||||||
|
<param name="duration">The duration of the tween</param>
|
||||||
|
<param name="strength">The shake strength on each axis</param>
|
||||||
|
<param name="vibrato">Indicates how much will the shake vibrate</param>
|
||||||
|
<param name="randomness">Indicates how much the shake will be random (0 to 180 - values higher than 90 kind of suck, so beware).
|
||||||
|
Setting it to 0 will shake along a single direction.</param>
|
||||||
|
<param name="snapping">If TRUE the tween will smoothly snap all values to integers</param>
|
||||||
|
</member>
|
||||||
<member name="M:DG.Tweening.ShortcutExtensions.DOValue(UnityEngine.UI.Slider,System.Single,System.Single,System.Boolean)">
|
<member name="M:DG.Tweening.ShortcutExtensions.DOValue(UnityEngine.UI.Slider,System.Single,System.Single,System.Boolean)">
|
||||||
<summary>Tweens a Slider's value to the given value.
|
<summary>Tweens a Slider's value to the given value.
|
||||||
Also stores the Slider as the tween's target so it can be used for filtered operations</summary>
|
Also stores the Slider as the tween's target so it can be used for filtered operations</summary>
|
||||||
|
|||||||
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