forked from Demigiant/dotween
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed StringPlugin (DOText) not calculating SpeedBased duration corre…
…ctly in case of rich text
- Loading branch information
Showing
55 changed files
with
88 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.dll
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween.dll.mdb
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween43.dll
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween43.dll.mdb
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween46.dll
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween46.dll.mdb
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween50.dll
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/DOTween50.dll.mdb
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
UnityCompatibilityTests.Unity35/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll.mdb
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween43.dll.mdb
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween46.dll.mdb
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween50.dll.mdb
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
UnityTests.Unity4/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
UnityTests.Unity4/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll.mdb
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween43.dll.mdb
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween46.dll.mdb
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween50.dll.mdb
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
UnityTests.Unity5/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
UnityTests.Unity5/Assets/Demigiant/DOTween/Editor/DOTweenEditor.dll.mdb
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using UnityEngine; | ||
using UnityEngine.UI; | ||
using System.Collections; | ||
using DG.Tweening; | ||
|
||
public class RichText : BrainBase | ||
{ | ||
public float duration = 6; | ||
public bool speedBased = true; | ||
public ScrambleMode scrambleMode; | ||
public Text txtRichA, txtA; | ||
|
||
IEnumerator Start() | ||
{ | ||
yield return new WaitForSeconds(0.6f); | ||
|
||
TweenParams tp = new TweenParams().SetEase(Ease.Linear); | ||
tp.SetSpeedBased(speedBased); | ||
txtRichA.DOText("This is a <color=#ff0000>colored <color=#00ff00>text</color></color> and normal text", duration, true, scrambleMode).SetAs(tp); | ||
txtA.DOText("This is a colored text and normal text", duration, true, scrambleMode).SetAs(tp); | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file not shown.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using UnityEngine; | ||
using System.Collections; | ||
using DG.Tweening; | ||
|
||
public class ShakeInverse : MonoBehaviour | ||
{ | ||
public Transform trans; | ||
|
||
IEnumerator Start() | ||
{ | ||
yield return new WaitForSeconds(0.6f); | ||
Tween t = trans.DOShakePosition(4, 2).SetAutoKill(false); | ||
t.Complete(); | ||
t.PlayBackwards(); | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file not shown.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
m_EditorVersion: 5.2.2f1 | ||
m_EditorVersion: 5.2.3f1 | ||
m_StandardAssetsVersion: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.