diff --git a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.XML b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.XML index 8b553b9..77af658 100644 --- a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.XML +++ b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.XML @@ -526,7 +526,7 @@ 1 creates a full oscillation between the direction and the opposite decaying direction, while 0 oscillates only between the starting position and the decaying direction - + Shakes a Vector3 with the given values. A getter for the field or property to tween. Example usage with lambda:()=> myProperty @@ -539,7 +539,7 @@ Setting it to 0 will shake along a single direction and behave like a random punch. If TRUE only shakes on the X Y axis (looks better with things like cameras). - + Shakes a Vector3 with the given values. A getter for the field or property to tween. Example usage with lambda:()=> myProperty @@ -1226,7 +1226,7 @@ Also stores the camera as the tween's target so it can be used for filtered operations The end value to reachThe duration of the tween - + Shakes a Camera's localPosition along its relative X Y axes with the given values. Also stores the camera as the tween's target so it can be used for filtered operations The duration of the tween @@ -1235,7 +1235,7 @@ 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. - + Shakes a Camera's localPosition along its relative X Y axes with the given values. Also stores the camera as the tween's target so it can be used for filtered operations The duration of the tween @@ -1244,7 +1244,7 @@ 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. - + Shakes a Camera's localRotation. Also stores the camera as the tween's target so it can be used for filtered operations The duration of the tween @@ -1253,7 +1253,7 @@ 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. - + Shakes a Camera's localRotation. Also stores the camera as the tween's target so it can be used for filtered operations The duration of the tween @@ -1550,7 +1550,7 @@ 1 creates a full oscillation between the punch rotation and the opposite rotation, while 0 oscillates only between the punch and the start rotation - + Shakes a Transform's localPosition with the given values. The duration of the tween The shake strength @@ -1559,7 +1559,7 @@ Setting it to 0 will shake along a single direction. If TRUE the tween will smoothly snap all values to integers - + Shakes a Transform's localPosition with the given values. The duration of the tween The shake strength on each axis @@ -1568,7 +1568,7 @@ Setting it to 0 will shake along a single direction. If TRUE the tween will smoothly snap all values to integers - + Shakes a Transform's localRotation. The duration of the tween The shake strength @@ -1576,7 +1576,7 @@ 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. - + Shakes a Transform's localRotation. The duration of the tween The shake strength on each axis @@ -1584,7 +1584,7 @@ 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. - + Shakes a Transform's localScale. The duration of the tween The shake strength @@ -1592,7 +1592,7 @@ 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. - + Shakes a Transform's localScale. The duration of the tween The shake strength on each axis diff --git a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.dll b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.dll index 37992c3..6d64418 100644 Binary files a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.dll and b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.dll differ diff --git a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.dll.mdb b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.dll.mdb index d6c0956..94aab41 100644 Binary files a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.dll.mdb and b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.dll.mdb differ diff --git a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween43.dll b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween43.dll index b6f3e1d..b88ecc0 100644 Binary files a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween43.dll and b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween43.dll differ diff --git a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween43.dll.mdb b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween43.dll.mdb index c4e3d71..85347b7 100644 Binary files a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween43.dll.mdb and b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween43.dll.mdb differ diff --git a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween46.dll b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween46.dll index 5029ebc..31d1a2f 100644 Binary files a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween46.dll and b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween46.dll differ diff --git a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween46.dll.mdb b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween46.dll.mdb index 7ebe844..097a093 100644 Binary files a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween46.dll.mdb and b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween46.dll.mdb differ diff --git a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween46.xml b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween46.xml index c420c02..960d6db 100644 --- a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween46.xml +++ b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween46.xml @@ -144,7 +144,7 @@ while 0 oscillates only between the punch and the start position If TRUE the tween will smoothly snap all values to integers - + 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 The duration of the tween @@ -154,7 +154,7 @@ Setting it to 0 will shake along a single direction. If TRUE the tween will smoothly snap all values to integers - + 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 The duration of the tween diff --git a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween50.dll b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween50.dll index ae5b297..795aafd 100644 Binary files a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween50.dll and b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween50.dll differ diff --git a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween50.dll.mdb b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween50.dll.mdb index 191fd77..4764559 100644 Binary files a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween50.dll.mdb and b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween50.dll.mdb differ diff --git a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll index 31ba484..2c688f6 100644 Binary files a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll and b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll differ diff --git a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll.mdb b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll.mdb index ecb430d..fb6e936 100644 Binary files a/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll.mdb and b/UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll.mdb differ diff --git a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.XML b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.XML index 8b553b9..77af658 100644 --- a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.XML +++ b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.XML @@ -526,7 +526,7 @@ 1 creates a full oscillation between the direction and the opposite decaying direction, while 0 oscillates only between the starting position and the decaying direction - + Shakes a Vector3 with the given values. A getter for the field or property to tween. Example usage with lambda:()=> myProperty @@ -539,7 +539,7 @@ Setting it to 0 will shake along a single direction and behave like a random punch. If TRUE only shakes on the X Y axis (looks better with things like cameras). - + Shakes a Vector3 with the given values. A getter for the field or property to tween. Example usage with lambda:()=> myProperty @@ -1226,7 +1226,7 @@ Also stores the camera as the tween's target so it can be used for filtered operations The end value to reachThe duration of the tween - + Shakes a Camera's localPosition along its relative X Y axes with the given values. Also stores the camera as the tween's target so it can be used for filtered operations The duration of the tween @@ -1235,7 +1235,7 @@ 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. - + Shakes a Camera's localPosition along its relative X Y axes with the given values. Also stores the camera as the tween's target so it can be used for filtered operations The duration of the tween @@ -1244,7 +1244,7 @@ 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. - + Shakes a Camera's localRotation. Also stores the camera as the tween's target so it can be used for filtered operations The duration of the tween @@ -1253,7 +1253,7 @@ 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. - + Shakes a Camera's localRotation. Also stores the camera as the tween's target so it can be used for filtered operations The duration of the tween @@ -1550,7 +1550,7 @@ 1 creates a full oscillation between the punch rotation and the opposite rotation, while 0 oscillates only between the punch and the start rotation - + Shakes a Transform's localPosition with the given values. The duration of the tween The shake strength @@ -1559,7 +1559,7 @@ Setting it to 0 will shake along a single direction. If TRUE the tween will smoothly snap all values to integers - + Shakes a Transform's localPosition with the given values. The duration of the tween The shake strength on each axis @@ -1568,7 +1568,7 @@ Setting it to 0 will shake along a single direction. If TRUE the tween will smoothly snap all values to integers - + Shakes a Transform's localRotation. The duration of the tween The shake strength @@ -1576,7 +1576,7 @@ 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. - + Shakes a Transform's localRotation. The duration of the tween The shake strength on each axis @@ -1584,7 +1584,7 @@ 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. - + Shakes a Transform's localScale. The duration of the tween The shake strength @@ -1592,7 +1592,7 @@ 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. - + Shakes a Transform's localScale. The duration of the tween The shake strength on each axis diff --git a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.dll b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.dll index 37992c3..6d64418 100644 Binary files a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.dll and b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.dll differ diff --git a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.dll.mdb b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.dll.mdb index d6c0956..94aab41 100644 Binary files a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.dll.mdb and b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.dll.mdb differ diff --git a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween43.dll b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween43.dll index b6f3e1d..b88ecc0 100644 Binary files a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween43.dll and b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween43.dll differ diff --git a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween43.dll.mdb b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween43.dll.mdb index c4e3d71..85347b7 100644 Binary files a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween43.dll.mdb and b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween43.dll.mdb differ diff --git a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween46.dll b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween46.dll index 5029ebc..31d1a2f 100644 Binary files a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween46.dll and b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween46.dll differ diff --git a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween46.dll.mdb b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween46.dll.mdb index 7ebe844..097a093 100644 Binary files a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween46.dll.mdb and b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween46.dll.mdb differ diff --git a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween46.xml b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween46.xml index c420c02..960d6db 100644 --- a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween46.xml +++ b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween46.xml @@ -144,7 +144,7 @@ while 0 oscillates only between the punch and the start position If TRUE the tween will smoothly snap all values to integers - + 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 The duration of the tween @@ -154,7 +154,7 @@ Setting it to 0 will shake along a single direction. If TRUE the tween will smoothly snap all values to integers - + 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 The duration of the tween diff --git a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween50.dll b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween50.dll index ae5b297..795aafd 100644 Binary files a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween50.dll and b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween50.dll differ diff --git a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween50.dll.mdb b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween50.dll.mdb index 191fd77..4764559 100644 Binary files a/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween50.dll.mdb and b/UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween50.dll.mdb differ diff --git a/UnityTests.Unity4/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll b/UnityTests.Unity4/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll index 31ba484..2c688f6 100644 Binary files a/UnityTests.Unity4/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll and b/UnityTests.Unity4/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll differ diff --git a/UnityTests.Unity4/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll.mdb b/UnityTests.Unity4/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll.mdb index ecb430d..fb6e936 100644 Binary files a/UnityTests.Unity4/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll.mdb and b/UnityTests.Unity4/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll.mdb differ diff --git a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.XML b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.XML index 8b553b9..77af658 100644 --- a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.XML +++ b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.XML @@ -526,7 +526,7 @@ 1 creates a full oscillation between the direction and the opposite decaying direction, while 0 oscillates only between the starting position and the decaying direction - + Shakes a Vector3 with the given values. A getter for the field or property to tween. Example usage with lambda:()=> myProperty @@ -539,7 +539,7 @@ Setting it to 0 will shake along a single direction and behave like a random punch. If TRUE only shakes on the X Y axis (looks better with things like cameras). - + Shakes a Vector3 with the given values. A getter for the field or property to tween. Example usage with lambda:()=> myProperty @@ -1226,7 +1226,7 @@ Also stores the camera as the tween's target so it can be used for filtered operations The end value to reachThe duration of the tween - + Shakes a Camera's localPosition along its relative X Y axes with the given values. Also stores the camera as the tween's target so it can be used for filtered operations The duration of the tween @@ -1235,7 +1235,7 @@ 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. - + Shakes a Camera's localPosition along its relative X Y axes with the given values. Also stores the camera as the tween's target so it can be used for filtered operations The duration of the tween @@ -1244,7 +1244,7 @@ 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. - + Shakes a Camera's localRotation. Also stores the camera as the tween's target so it can be used for filtered operations The duration of the tween @@ -1253,7 +1253,7 @@ 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. - + Shakes a Camera's localRotation. Also stores the camera as the tween's target so it can be used for filtered operations The duration of the tween @@ -1550,7 +1550,7 @@ 1 creates a full oscillation between the punch rotation and the opposite rotation, while 0 oscillates only between the punch and the start rotation - + Shakes a Transform's localPosition with the given values. The duration of the tween The shake strength @@ -1559,7 +1559,7 @@ Setting it to 0 will shake along a single direction. If TRUE the tween will smoothly snap all values to integers - + Shakes a Transform's localPosition with the given values. The duration of the tween The shake strength on each axis @@ -1568,7 +1568,7 @@ Setting it to 0 will shake along a single direction. If TRUE the tween will smoothly snap all values to integers - + Shakes a Transform's localRotation. The duration of the tween The shake strength @@ -1576,7 +1576,7 @@ 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. - + Shakes a Transform's localRotation. The duration of the tween The shake strength on each axis @@ -1584,7 +1584,7 @@ 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. - + Shakes a Transform's localScale. The duration of the tween The shake strength @@ -1592,7 +1592,7 @@ 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. - + Shakes a Transform's localScale. The duration of the tween The shake strength on each axis diff --git a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.dll b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.dll index 37992c3..6d64418 100644 Binary files a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.dll and b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.dll differ diff --git a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.dll.mdb b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.dll.mdb index d6c0956..94aab41 100644 Binary files a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.dll.mdb and b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.dll.mdb differ diff --git a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween43.dll b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween43.dll index b6f3e1d..b88ecc0 100644 Binary files a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween43.dll and b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween43.dll differ diff --git a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween43.dll.mdb b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween43.dll.mdb index c4e3d71..85347b7 100644 Binary files a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween43.dll.mdb and b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween43.dll.mdb differ diff --git a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween46.dll b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween46.dll index 5029ebc..31d1a2f 100644 Binary files a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween46.dll and b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween46.dll differ diff --git a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween46.dll.mdb b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween46.dll.mdb index 7ebe844..097a093 100644 Binary files a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween46.dll.mdb and b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween46.dll.mdb differ diff --git a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween46.xml b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween46.xml index c420c02..960d6db 100644 --- a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween46.xml +++ b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween46.xml @@ -144,7 +144,7 @@ while 0 oscillates only between the punch and the start position If TRUE the tween will smoothly snap all values to integers - + 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 The duration of the tween @@ -154,7 +154,7 @@ Setting it to 0 will shake along a single direction. If TRUE the tween will smoothly snap all values to integers - + 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 The duration of the tween diff --git a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween50.dll b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween50.dll index ae5b297..795aafd 100644 Binary files a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween50.dll and b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween50.dll differ diff --git a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween50.dll.mdb b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween50.dll.mdb index 191fd77..4764559 100644 Binary files a/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween50.dll.mdb and b/UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween50.dll.mdb differ diff --git a/UnityTests.Unity5/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll b/UnityTests.Unity5/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll index 31ba484..2c688f6 100644 Binary files a/UnityTests.Unity5/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll and b/UnityTests.Unity5/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll differ diff --git a/UnityTests.Unity5/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll.mdb b/UnityTests.Unity5/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll.mdb index ecb430d..fb6e936 100644 Binary files a/UnityTests.Unity5/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll.mdb and b/UnityTests.Unity5/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll.mdb differ diff --git a/UnityTests.Unity5/Assets/Unity5Mat.mat b/UnityTests.Unity5/Assets/Unity5Mat.mat new file mode 100644 index 0000000..569ca4f Binary files /dev/null and b/UnityTests.Unity5/Assets/Unity5Mat.mat differ diff --git a/UnityTests.Unity5/Assets/Unity5Mat.mat.meta b/UnityTests.Unity5/Assets/Unity5Mat.mat.meta new file mode 100644 index 0000000..9740340 --- /dev/null +++ b/UnityTests.Unity5/Assets/Unity5Mat.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 66b1bc248e625d14fa5d5cfd75081ce0 +timeCreated: 1460405400 +licenseType: Pro +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/UnityTests.Unity5/Assets/_DOTween Examples/DrawSegmentWithBounce.unity b/UnityTests.Unity5/Assets/_DOTween Examples/DrawSegmentWithBounce.unity index 9061757..f162005 100644 Binary files a/UnityTests.Unity5/Assets/_DOTween Examples/DrawSegmentWithBounce.unity and b/UnityTests.Unity5/Assets/_DOTween Examples/DrawSegmentWithBounce.unity differ diff --git a/UnityTests.Unity5/Assets/_DOTween Examples/MAT LineRenderer.mat b/UnityTests.Unity5/Assets/_DOTween Examples/MAT LineRenderer.mat new file mode 100644 index 0000000..1573737 Binary files /dev/null and b/UnityTests.Unity5/Assets/_DOTween Examples/MAT LineRenderer.mat differ diff --git a/UnityTests.Unity5/Assets/_DOTween Examples/MAT LineRenderer.mat.meta b/UnityTests.Unity5/Assets/_DOTween Examples/MAT LineRenderer.mat.meta new file mode 100644 index 0000000..8a309a1 --- /dev/null +++ b/UnityTests.Unity5/Assets/_DOTween Examples/MAT LineRenderer.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 8a322b1fe30ed944b9510df9d7203af4 +timeCreated: 1460387417 +licenseType: Pro +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/UnityTests.Unity5/Assets/_DOTween Examples/zz.png b/UnityTests.Unity5/Assets/_DOTween Examples/zz.png new file mode 100644 index 0000000..a7aac56 Binary files /dev/null and b/UnityTests.Unity5/Assets/_DOTween Examples/zz.png differ diff --git a/UnityTests.Unity5/Assets/_DOTween Examples/zz.png.meta b/UnityTests.Unity5/Assets/_DOTween Examples/zz.png.meta new file mode 100644 index 0000000..40260f8 --- /dev/null +++ b/UnityTests.Unity5/Assets/_DOTween Examples/zz.png.meta @@ -0,0 +1,58 @@ +fileFormatVersion: 2 +guid: ad22649892ddbb24299504e1c9b09073 +timeCreated: 1460387613 +licenseType: Pro +TextureImporter: + fileIDToRecycleName: + 8900000: generatedCubemap + serializedVersion: 2 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + linearTexture: 0 + correctGamma: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 0 + cubemapConvolution: 0 + cubemapConvolutionSteps: 7 + cubemapConvolutionExponent: 1.5 + seamlessCubemap: 0 + textureFormat: -1 + maxTextureSize: 128 + textureSettings: + filterMode: -1 + aniso: -1 + mipBias: -1 + wrapMode: 0 + nPOTScale: 1 + lightmap: 0 + rGBM: 0 + compressionQuality: 50 + allowsAlphaSplitting: 0 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 0 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaIsTransparency: 0 + textureType: 0 + buildTargetSettings: [] + spriteSheet: + sprites: [] + outline: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/UnityTests.Unity5/Assets/_Tests PRO/TempPro.cs b/UnityTests.Unity5/Assets/_Tests PRO/TempPro.cs index 64150e4..1f7c577 100644 --- a/UnityTests.Unity5/Assets/_Tests PRO/TempPro.cs +++ b/UnityTests.Unity5/Assets/_Tests PRO/TempPro.cs @@ -1,18 +1,18 @@ using UnityEngine; using System.Collections; +using System.Collections.Generic; using DG.Tweening; public class TempPro : MonoBehaviour { - public Rigidbody2D target; + public DOTweenPath path; - void Start() - { - target.transform.DOScale(2, 1).SetLoops(-1); - } + IEnumerator Start() + { + yield return new WaitForSeconds(0.5f); - void FixedUpdate() - { - target.position += new Vector2(0.03f, 0); - } + Debug.Log("PLAY"); + Debug.Log(path.GetTween().id); + DOTween.Play("myId"); + } } \ No newline at end of file diff --git a/UnityTests.Unity5/Assets/_Tests PRO/TempPro.unity b/UnityTests.Unity5/Assets/_Tests PRO/TempPro.unity index eab10d7..49c1147 100644 Binary files a/UnityTests.Unity5/Assets/_Tests PRO/TempPro.unity and b/UnityTests.Unity5/Assets/_Tests PRO/TempPro.unity differ diff --git a/UnityTests.Unity5/Assets/_Tests/ShakePunch.cs b/UnityTests.Unity5/Assets/_Tests/ShakePunch.cs index 60ac147..776e8dc 100644 --- a/UnityTests.Unity5/Assets/_Tests/ShakePunch.cs +++ b/UnityTests.Unity5/Assets/_Tests/ShakePunch.cs @@ -6,6 +6,8 @@ using UnityEngine; public class ShakePunch : BrainBase { public float duration = 1; // Shake duration + public bool fadeOutShakes = true; + public Ease shakeEase = Ease.OutQuad; public float shakePosStrength = 2; // Shake position power public Vector3 shakePosStrengthV3 = new Vector3(2,2,2); public float shakeRotStrength = 90; // Shake rotation power @@ -81,14 +83,17 @@ public class ShakePunch : BrainBase shakePositionTween = isCamera ? useVectorStrength - ? Camera.main.DOShakePosition(duration, shakePosStrengthV3, shakeVibrato, shakeRandomness) - : Camera.main.DOShakePosition(duration, shakePosStrength, shakeVibrato, shakeRandomness) + ? Camera.main.DOShakePosition(duration, shakePosStrengthV3, shakeVibrato, shakeRandomness, fadeOutShakes) + : Camera.main.DOShakePosition(duration, shakePosStrength, shakeVibrato, shakeRandomness, fadeOutShakes) : useVectorStrength - ? targets[0].DOShakePosition(duration, shakePosStrengthV3, shakeVibrato, shakeRandomness) - : targets[0].DOShakePosition(duration, shakePosStrength, shakeVibrato, shakeRandomness); + ? targets[0].DOShakePosition(duration, shakePosStrengthV3, shakeVibrato, shakeRandomness, false, fadeOutShakes) + : targets[0].DOShakePosition(duration, shakePosStrength, shakeVibrato, shakeRandomness, false, fadeOutShakes); if (isCamera && lookAt != null) { shakePositionTween.OnUpdate(()=> Camera.main.transform.LookAt((Vector3)lookAt)); } + // Add it inside a Sequence so eases work + Sequence s = DOTween.Sequence().Append(shakePositionTween).SetEase(shakeEase); + shakePositionTween = s; } void ShakeRotation(bool isCamera = false) @@ -97,11 +102,14 @@ public class ShakePunch : BrainBase shakeRotationTween = isCamera ? useVectorStrength - ? Camera.main.DOShakeRotation(duration, shakeRotStrengthV3, shakeVibrato, shakeRandomness) - : Camera.main.DOShakeRotation(duration, shakeRotStrength, shakeVibrato, shakeRandomness) + ? Camera.main.DOShakeRotation(duration, shakeRotStrengthV3, shakeVibrato, shakeRandomness, fadeOutShakes) + : Camera.main.DOShakeRotation(duration, shakeRotStrength, shakeVibrato, shakeRandomness, fadeOutShakes) : useVectorStrength - ? targets[0].DOShakeRotation(duration, shakeRotStrengthV3, shakeVibrato, shakeRandomness) - : targets[0].DOShakeRotation(duration, shakeRotStrength, shakeVibrato, shakeRandomness); + ? targets[0].DOShakeRotation(duration, shakeRotStrengthV3, shakeVibrato, shakeRandomness, fadeOutShakes) + : targets[0].DOShakeRotation(duration, shakeRotStrength, shakeVibrato, shakeRandomness, fadeOutShakes); + // Add it inside a Sequence so eases work + Sequence s = DOTween.Sequence().Append(shakeRotationTween).SetEase(shakeEase); + shakeRotationTween = s; } void ShakeScale() @@ -109,8 +117,11 @@ public class ShakePunch : BrainBase shakeScaleTween.Complete(); shakeScaleTween = useVectorStrength - ? targets[0].DOShakeScale(duration, shakeScaleStrengthV3, shakeVibrato, shakeRandomness) - : targets[0].DOShakeScale(duration, shakeScaleStrength, shakeVibrato, shakeRandomness); + ? targets[0].DOShakeScale(duration, shakeScaleStrengthV3, shakeVibrato, shakeRandomness, fadeOutShakes) + : targets[0].DOShakeScale(duration, shakeScaleStrength, shakeVibrato, shakeRandomness, fadeOutShakes); + // Add it inside a Sequence so eases work + Sequence s = DOTween.Sequence().Append(shakeScaleTween).SetEase(shakeEase); + shakeScaleTween = s; } void PunchPosition(bool random = false) diff --git a/UnityTests.Unity5/Assets/_Tests/ShakePunch.unity b/UnityTests.Unity5/Assets/_Tests/ShakePunch.unity index 52eedaa..5b93b1b 100644 Binary files a/UnityTests.Unity5/Assets/_Tests/ShakePunch.unity and b/UnityTests.Unity5/Assets/_Tests/ShakePunch.unity differ diff --git a/UnityTests.Unity5/Assets/_Tests/TempTests.cs b/UnityTests.Unity5/Assets/_Tests/TempTests.cs index 8d53afe..73abbca 100644 --- a/UnityTests.Unity5/Assets/_Tests/TempTests.cs +++ b/UnityTests.Unity5/Assets/_Tests/TempTests.cs @@ -10,17 +10,15 @@ using UnityEngine.UI; public class TempTests : BrainBase { + public Transform target; + IEnumerator Start () { yield return new WaitForSeconds(0.5f); - Debug.Log(Time.realtimeSinceStartup); - DOVirtual.DelayedCall(2, ()=> Debug.Log("Call > " + Time.realtimeSinceStartup)) - .OnStart(()=> Debug.Log("Start > " + Time.realtimeSinceStartup)); - DOTween.Sequence() - .OnStart(()=> Debug.Log("S Start > " + Time.realtimeSinceStartup)) - .AppendInterval(2) - .OnComplete(()=> Debug.Log("S Complete > " + Time.realtimeSinceStartup)); + .Append(target.DOMoveX(1, 1)) + .Append(target.DOMoveY(1, 1)) + .SetLoops(-1, LoopType.Incremental); } } \ No newline at end of file diff --git a/_DOTween.Assembly/DOTween/DOTween.cs b/_DOTween.Assembly/DOTween/DOTween.cs index aa1eca1..237e86a 100644 --- a/_DOTween.Assembly/DOTween/DOTween.cs +++ b/_DOTween.Assembly/DOTween/DOTween.cs @@ -32,7 +32,7 @@ namespace DG.Tweening public class DOTween { /// DOTween's version - public static readonly string Version = "1.1.270"; + public static readonly string Version = "1.1.290"; /////////////////////////////////////////////// // Options //////////////////////////////////// @@ -503,10 +503,10 @@ namespace DG.Tweening /// Setting it to 0 will shake along a single direction and behave like a random punch. /// If TRUE only shakes on the X Y axis (looks better with things like cameras). public static TweenerCore Shake(DOGetter getter, DOSetter setter, float duration, - float strength = 3, int vibrato = 10, float randomness = 90, bool ignoreZAxis = true + float strength = 3, int vibrato = 10, float randomness = 90, bool ignoreZAxis = true, bool fadeOut = true ) { - return Shake(getter, setter, duration, new Vector3(strength, strength, strength), vibrato, randomness, ignoreZAxis, false); + return Shake(getter, setter, duration, new Vector3(strength, strength, strength), vibrato, randomness, ignoreZAxis, false, fadeOut); } /// Shakes a Vector3 with the given values. /// A getter for the field or property to tween. @@ -519,13 +519,13 @@ namespace DG.Tweening /// 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 and behave like a random punch. public static TweenerCore Shake(DOGetter getter, DOSetter setter, float duration, - Vector3 strength, int vibrato = 10, float randomness = 90 + Vector3 strength, int vibrato = 10, float randomness = 90, bool fadeOut = true ) { - return Shake(getter, setter, duration, strength, vibrato, randomness, false, true); + return Shake(getter, setter, duration, strength, vibrato, randomness, false, true, fadeOut); } static TweenerCore Shake(DOGetter getter, DOSetter setter, float duration, - Vector3 strength, int vibrato, float randomness, bool ignoreZAxis, bool vectorBased + Vector3 strength, int vibrato, float randomness, bool ignoreZAxis, bool vectorBased, bool fadeOut ) { float shakeMagnitude = vectorBased ? strength.magnitude : strength.x; @@ -537,7 +537,7 @@ namespace DG.Tweening float sum = 0; for (int i = 0; i < totIterations; ++i) { float iterationPerc = (i + 1) / (float)totIterations; - float tDuration = duration * iterationPerc; + float tDuration = fadeOut ? duration * iterationPerc : duration / totIterations; sum += tDuration; tDurations[i] = tDuration; } @@ -556,7 +556,7 @@ namespace DG.Tweening to.y = Vector3.ClampMagnitude(to, strength.y).y; to.z = Vector3.ClampMagnitude(to, strength.z).z; tos[i] = to; - shakeMagnitude -= decayXTween; + if (fadeOut) shakeMagnitude -= decayXTween; strength = Vector3.ClampMagnitude(strength, shakeMagnitude); } else { if (ignoreZAxis) { @@ -565,7 +565,7 @@ namespace DG.Tweening Quaternion rndQuaternion = Quaternion.AngleAxis(UnityEngine.Random.Range(-randomness, randomness), Vector3.up); tos[i] = rndQuaternion * Utils.Vector3FromAngle(ang, shakeMagnitude); } - shakeMagnitude -= decayXTween; + if (fadeOut) shakeMagnitude -= decayXTween; } } else tos[i] = Vector3.zero; } diff --git a/_DOTween.Assembly/DOTween/ShortcutExtensions.cs b/_DOTween.Assembly/DOTween/ShortcutExtensions.cs index e22966f..d7c3624 100644 --- a/_DOTween.Assembly/DOTween/ShortcutExtensions.cs +++ b/_DOTween.Assembly/DOTween/ShortcutExtensions.cs @@ -126,9 +126,9 @@ namespace DG.Tweening /// Indicates how much will the shake vibrate /// 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. - public static Tweener DOShakePosition(this Camera target, float duration, float strength = 3, int vibrato = 10, float randomness = 90) + public static Tweener DOShakePosition(this Camera target, float duration, float strength = 3, int vibrato = 10, float randomness = 90, bool fadeOut = true) { - return DOTween.Shake(() => target.transform.localPosition, x => target.transform.localPosition = x, duration, strength, vibrato, randomness) + return DOTween.Shake(() => target.transform.localPosition, x => target.transform.localPosition = x, duration, strength, vibrato, randomness, true, fadeOut) .SetTarget(target).SetSpecialStartupMode(SpecialStartupMode.SetCameraShakePosition); } /// Shakes a Camera's localPosition along its relative X Y axes with the given values. @@ -138,9 +138,9 @@ namespace DG.Tweening /// Indicates how much will the shake vibrate /// 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. - public static Tweener DOShakePosition(this Camera target, float duration, Vector3 strength, int vibrato = 10, float randomness = 90) + public static Tweener DOShakePosition(this Camera target, float duration, Vector3 strength, int vibrato = 10, float randomness = 90, bool fadeOut = true) { - return DOTween.Shake(() => target.transform.localPosition, x => target.transform.localPosition = x, duration, strength, vibrato, randomness) + return DOTween.Shake(() => target.transform.localPosition, x => target.transform.localPosition = x, duration, strength, vibrato, randomness, fadeOut) .SetTarget(target).SetSpecialStartupMode(SpecialStartupMode.SetCameraShakePosition); } @@ -151,9 +151,9 @@ namespace DG.Tweening /// Indicates how much will the shake vibrate /// 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. - public static Tweener DOShakeRotation(this Camera target, float duration, float strength = 90, int vibrato = 10, float randomness = 90) + public static Tweener DOShakeRotation(this Camera target, float duration, float strength = 90, int vibrato = 10, float randomness = 90, bool fadeOut = true) { - return DOTween.Shake(() => target.transform.localEulerAngles, x => target.transform.localRotation = Quaternion.Euler(x), duration, strength, vibrato, randomness, false) + return DOTween.Shake(() => target.transform.localEulerAngles, x => target.transform.localRotation = Quaternion.Euler(x), duration, strength, vibrato, randomness, false, fadeOut) .SetTarget(target).SetSpecialStartupMode(SpecialStartupMode.SetShake); } /// Shakes a Camera's localRotation. @@ -163,9 +163,9 @@ namespace DG.Tweening /// Indicates how much will the shake vibrate /// 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. - public static Tweener DOShakeRotation(this Camera target, float duration, Vector3 strength, int vibrato = 10, float randomness = 90) + public static Tweener DOShakeRotation(this Camera target, float duration, Vector3 strength, int vibrato = 10, float randomness = 90, bool fadeOut = true) { - return DOTween.Shake(() => target.transform.localEulerAngles, x => target.transform.localRotation = Quaternion.Euler(x), duration, strength, vibrato, randomness) + return DOTween.Shake(() => target.transform.localEulerAngles, x => target.transform.localRotation = Quaternion.Euler(x), duration, strength, vibrato, randomness, fadeOut) .SetTarget(target).SetSpecialStartupMode(SpecialStartupMode.SetShake); } @@ -754,9 +754,9 @@ namespace DG.Tweening /// 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. /// If TRUE the tween will smoothly snap all values to integers - public static Tweener DOShakePosition(this Transform target, float duration, float strength = 1, int vibrato = 10, float randomness = 90, bool snapping = false) + public static Tweener DOShakePosition(this Transform target, float duration, float strength = 1, int vibrato = 10, float randomness = 90, bool snapping = false, bool fadeOut = true) { - return DOTween.Shake(() => target.localPosition, x => target.localPosition = x, duration, strength, vibrato, randomness, false) + return DOTween.Shake(() => target.localPosition, x => target.localPosition = x, duration, strength, vibrato, randomness, false, fadeOut) .SetTarget(target).SetSpecialStartupMode(SpecialStartupMode.SetShake).SetOptions(snapping); } /// Shakes a Transform's localPosition with the given values. @@ -766,9 +766,9 @@ namespace DG.Tweening /// 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. /// If TRUE the tween will smoothly snap all values to integers - public static Tweener DOShakePosition(this Transform target, float duration, Vector3 strength, int vibrato = 10, float randomness = 90, bool snapping = false) + public static Tweener DOShakePosition(this Transform target, float duration, Vector3 strength, int vibrato = 10, float randomness = 90, bool snapping = false, bool fadeOut = true) { - return DOTween.Shake(() => target.localPosition, x => target.localPosition = x, duration, strength, vibrato, randomness) + return DOTween.Shake(() => target.localPosition, x => target.localPosition = x, duration, strength, vibrato, randomness, fadeOut) .SetTarget(target).SetSpecialStartupMode(SpecialStartupMode.SetShake).SetOptions(snapping); } /// Shakes a Transform's localRotation. @@ -777,9 +777,9 @@ namespace DG.Tweening /// Indicates how much will the shake vibrate /// 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. - public static Tweener DOShakeRotation(this Transform target, float duration, float strength = 90, int vibrato = 10, float randomness = 90) + public static Tweener DOShakeRotation(this Transform target, float duration, float strength = 90, int vibrato = 10, float randomness = 90, bool fadeOut = true) { - return DOTween.Shake(() => target.localEulerAngles, x => target.localRotation = Quaternion.Euler(x), duration, strength, vibrato, randomness, false) + return DOTween.Shake(() => target.localEulerAngles, x => target.localRotation = Quaternion.Euler(x), duration, strength, vibrato, randomness, false, fadeOut) .SetTarget(target).SetSpecialStartupMode(SpecialStartupMode.SetShake); } /// Shakes a Transform's localRotation. @@ -788,9 +788,9 @@ namespace DG.Tweening /// Indicates how much will the shake vibrate /// 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. - public static Tweener DOShakeRotation(this Transform target, float duration, Vector3 strength, int vibrato = 10, float randomness = 90) + public static Tweener DOShakeRotation(this Transform target, float duration, Vector3 strength, int vibrato = 10, float randomness = 90, bool fadeOut = true) { - return DOTween.Shake(() => target.localEulerAngles, x => target.localRotation = Quaternion.Euler(x), duration, strength, vibrato, randomness) + return DOTween.Shake(() => target.localEulerAngles, x => target.localRotation = Quaternion.Euler(x), duration, strength, vibrato, randomness, fadeOut) .SetTarget(target).SetSpecialStartupMode(SpecialStartupMode.SetShake); } /// Shakes a Transform's localScale. @@ -799,9 +799,9 @@ namespace DG.Tweening /// Indicates how much will the shake vibrate /// 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. - public static Tweener DOShakeScale(this Transform target, float duration, float strength = 1, int vibrato = 10, float randomness = 90) + public static Tweener DOShakeScale(this Transform target, float duration, float strength = 1, int vibrato = 10, float randomness = 90, bool fadeOut = true) { - return DOTween.Shake(() => target.localScale, x => target.localScale = x, duration, strength, vibrato, randomness, false) + return DOTween.Shake(() => target.localScale, x => target.localScale = x, duration, strength, vibrato, randomness, false, fadeOut) .SetTarget(target).SetSpecialStartupMode(SpecialStartupMode.SetShake); } /// Shakes a Transform's localScale. @@ -810,9 +810,9 @@ namespace DG.Tweening /// Indicates how much will the shake vibrate /// 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. - public static Tweener DOShakeScale(this Transform target, float duration, Vector3 strength, int vibrato = 10, float randomness = 90) + public static Tweener DOShakeScale(this Transform target, float duration, Vector3 strength, int vibrato = 10, float randomness = 90, bool fadeOut = true) { - return DOTween.Shake(() => target.localScale, x => target.localScale = x, duration, strength, vibrato, randomness) + return DOTween.Shake(() => target.localScale, x => target.localScale = x, duration, strength, vibrato, randomness, fadeOut) .SetTarget(target).SetSpecialStartupMode(SpecialStartupMode.SetShake); } diff --git a/_DOTween.Assembly/DOTween46/ShortcutExtensions46.cs b/_DOTween.Assembly/DOTween46/ShortcutExtensions46.cs index a1217ec..3815fb2 100644 --- a/_DOTween.Assembly/DOTween46/ShortcutExtensions46.cs +++ b/_DOTween.Assembly/DOTween46/ShortcutExtensions46.cs @@ -293,9 +293,9 @@ namespace DG.Tweening /// 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. /// If TRUE the tween will smoothly snap all values to integers - public static Tweener DOShakeAnchorPos(this RectTransform target, float duration, float strength = 100, int vibrato = 10, float randomness = 90, bool snapping = false) + public static Tweener DOShakeAnchorPos(this RectTransform target, float duration, float strength = 100, int vibrato = 10, float randomness = 90, bool snapping = false, bool fadeOut = true) { - return DOTween.Shake(() => target.anchoredPosition, x => target.anchoredPosition = x, duration, strength, vibrato, randomness, true) + return DOTween.Shake(() => target.anchoredPosition, x => target.anchoredPosition = x, duration, strength, vibrato, randomness, true, fadeOut) .SetTarget(target).SetSpecialStartupMode(SpecialStartupMode.SetShake).SetOptions(snapping); } /// Shakes a RectTransform's anchoredPosition with the given values. @@ -306,9 +306,9 @@ namespace DG.Tweening /// 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. /// If TRUE the tween will smoothly snap all values to integers - public static Tweener DOShakeAnchorPos(this RectTransform target, float duration, Vector2 strength, int vibrato = 10, float randomness = 90, bool snapping = false) + public static Tweener DOShakeAnchorPos(this RectTransform target, float duration, Vector2 strength, int vibrato = 10, float randomness = 90, bool snapping = false, bool fadeOut = true) { - return DOTween.Shake(() => target.anchoredPosition, x => target.anchoredPosition = x, duration, strength, vibrato, randomness) + return DOTween.Shake(() => target.anchoredPosition, x => target.anchoredPosition = x, duration, strength, vibrato, randomness, fadeOut) .SetTarget(target).SetSpecialStartupMode(SpecialStartupMode.SetShake).SetOptions(snapping); } diff --git a/_DOTween.Assembly/bin/DOTween.XML b/_DOTween.Assembly/bin/DOTween.XML index 8b553b9..77af658 100644 --- a/_DOTween.Assembly/bin/DOTween.XML +++ b/_DOTween.Assembly/bin/DOTween.XML @@ -526,7 +526,7 @@ 1 creates a full oscillation between the direction and the opposite decaying direction, while 0 oscillates only between the starting position and the decaying direction - + Shakes a Vector3 with the given values. A getter for the field or property to tween. Example usage with lambda:()=> myProperty @@ -539,7 +539,7 @@ Setting it to 0 will shake along a single direction and behave like a random punch. If TRUE only shakes on the X Y axis (looks better with things like cameras). - + Shakes a Vector3 with the given values. A getter for the field or property to tween. Example usage with lambda:()=> myProperty @@ -1226,7 +1226,7 @@ Also stores the camera as the tween's target so it can be used for filtered operations The end value to reachThe duration of the tween - + Shakes a Camera's localPosition along its relative X Y axes with the given values. Also stores the camera as the tween's target so it can be used for filtered operations The duration of the tween @@ -1235,7 +1235,7 @@ 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. - + Shakes a Camera's localPosition along its relative X Y axes with the given values. Also stores the camera as the tween's target so it can be used for filtered operations The duration of the tween @@ -1244,7 +1244,7 @@ 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. - + Shakes a Camera's localRotation. Also stores the camera as the tween's target so it can be used for filtered operations The duration of the tween @@ -1253,7 +1253,7 @@ 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. - + Shakes a Camera's localRotation. Also stores the camera as the tween's target so it can be used for filtered operations The duration of the tween @@ -1550,7 +1550,7 @@ 1 creates a full oscillation between the punch rotation and the opposite rotation, while 0 oscillates only between the punch and the start rotation - + Shakes a Transform's localPosition with the given values. The duration of the tween The shake strength @@ -1559,7 +1559,7 @@ Setting it to 0 will shake along a single direction. If TRUE the tween will smoothly snap all values to integers - + Shakes a Transform's localPosition with the given values. The duration of the tween The shake strength on each axis @@ -1568,7 +1568,7 @@ Setting it to 0 will shake along a single direction. If TRUE the tween will smoothly snap all values to integers - + Shakes a Transform's localRotation. The duration of the tween The shake strength @@ -1576,7 +1576,7 @@ 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. - + Shakes a Transform's localRotation. The duration of the tween The shake strength on each axis @@ -1584,7 +1584,7 @@ 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. - + Shakes a Transform's localScale. The duration of the tween The shake strength @@ -1592,7 +1592,7 @@ 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. - + Shakes a Transform's localScale. The duration of the tween The shake strength on each axis diff --git a/_DOTween.Assembly/bin/DOTween.dll b/_DOTween.Assembly/bin/DOTween.dll index 37992c3..6d64418 100644 Binary files a/_DOTween.Assembly/bin/DOTween.dll and b/_DOTween.Assembly/bin/DOTween.dll differ diff --git a/_DOTween.Assembly/bin/DOTween.dll.mdb b/_DOTween.Assembly/bin/DOTween.dll.mdb index d6c0956..94aab41 100644 Binary files a/_DOTween.Assembly/bin/DOTween.dll.mdb and b/_DOTween.Assembly/bin/DOTween.dll.mdb differ diff --git a/_DOTween.Assembly/bin/DOTween43.dll b/_DOTween.Assembly/bin/DOTween43.dll index b6f3e1d..b88ecc0 100644 Binary files a/_DOTween.Assembly/bin/DOTween43.dll and b/_DOTween.Assembly/bin/DOTween43.dll differ diff --git a/_DOTween.Assembly/bin/DOTween43.dll.mdb b/_DOTween.Assembly/bin/DOTween43.dll.mdb index c4e3d71..85347b7 100644 Binary files a/_DOTween.Assembly/bin/DOTween43.dll.mdb and b/_DOTween.Assembly/bin/DOTween43.dll.mdb differ diff --git a/_DOTween.Assembly/bin/DOTween46.dll b/_DOTween.Assembly/bin/DOTween46.dll index 5029ebc..31d1a2f 100644 Binary files a/_DOTween.Assembly/bin/DOTween46.dll and b/_DOTween.Assembly/bin/DOTween46.dll differ diff --git a/_DOTween.Assembly/bin/DOTween46.dll.mdb b/_DOTween.Assembly/bin/DOTween46.dll.mdb index 7ebe844..097a093 100644 Binary files a/_DOTween.Assembly/bin/DOTween46.dll.mdb and b/_DOTween.Assembly/bin/DOTween46.dll.mdb differ diff --git a/_DOTween.Assembly/bin/DOTween46.xml b/_DOTween.Assembly/bin/DOTween46.xml index c420c02..960d6db 100644 --- a/_DOTween.Assembly/bin/DOTween46.xml +++ b/_DOTween.Assembly/bin/DOTween46.xml @@ -144,7 +144,7 @@ while 0 oscillates only between the punch and the start position If TRUE the tween will smoothly snap all values to integers - + 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 The duration of the tween @@ -154,7 +154,7 @@ Setting it to 0 will shake along a single direction. If TRUE the tween will smoothly snap all values to integers - + 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 The duration of the tween diff --git a/_DOTween.Assembly/bin/DOTween50.dll b/_DOTween.Assembly/bin/DOTween50.dll index ae5b297..795aafd 100644 Binary files a/_DOTween.Assembly/bin/DOTween50.dll and b/_DOTween.Assembly/bin/DOTween50.dll differ diff --git a/_DOTween.Assembly/bin/DOTween50.dll.mdb b/_DOTween.Assembly/bin/DOTween50.dll.mdb index 191fd77..4764559 100644 Binary files a/_DOTween.Assembly/bin/DOTween50.dll.mdb and b/_DOTween.Assembly/bin/DOTween50.dll.mdb differ diff --git a/_DOTween.Assembly/bin/Editor/DOTweenEditor.dll b/_DOTween.Assembly/bin/Editor/DOTweenEditor.dll index 31ba484..2c688f6 100644 Binary files a/_DOTween.Assembly/bin/Editor/DOTweenEditor.dll and b/_DOTween.Assembly/bin/Editor/DOTweenEditor.dll differ diff --git a/_DOTween.Assembly/bin/Editor/DOTweenEditor.dll.mdb b/_DOTween.Assembly/bin/Editor/DOTweenEditor.dll.mdb index ecb430d..fb6e936 100644 Binary files a/_DOTween.Assembly/bin/Editor/DOTweenEditor.dll.mdb and b/_DOTween.Assembly/bin/Editor/DOTweenEditor.dll.mdb differ