U3DC.COM | 优三帝研究院

Menu

DoTween官方文档中文版(六)UGUI、tk2d

CanvasGroup (Unity UI 4.6)

DOFade(float to, float duration)

Graphic (Unity UI 4.6)

DOColor(Color to, float duration)
DOFade(float to, float duration)
Blendable tweens
DOBlendableColor(Color to, float duration)

Image (Unity UI 4.6)

DOColor(Color to, float duration)
DOFade(float to, float duration)
DOFillAmount(float to, float duration)
Blendable tweens
DOBlendableColor(Color to, float duration)

LayoutElement (Unity UI 4.6)

DOFlexibleSize(Vector2 to, float duration, bool snapping)

DOMinSize(Vector2 to, float duration, bool snapping)
DOPreferredSize(Vector2 to, float duration, bool snapping)

Outline (Unity UI 4.6)

DOColor(Color to, float duration)
DOFade(float to, float duration)

RectTransform (Unity UI 4.6)

DOAnchorPos(Vector2 to, float duration, bool snapping)
DOAnchorPos3D(Vector3 to, float duration, bool snapping)
DOShakeAnchorPos(float duration, float/Vector3 strength, int vibrato, float randomness, boolsnapping)
DOSizeDelta(Vector2 to, float duration, bool snapping)

Slider (Unity UI 4.6)

DOValue(Color to, float duration, bool snapping = false)

Text (Unity UI 4.6)

DOColor(Color to, float duration)
DOFade(float to, float duration)
DOText(string to, float duration, bool richTextEnabled = true, ScrambleMode scrambleMode = ScrambleMode.None, string scrambleChars = null)
Blendable tweens
DOBlendableColor(Color to, float duration)

PRO ONLY ➨ 2D Toolkit shortcuts

tk2dBaseSprite

DOScale(Vector3 to, float duration)
DOScaleX/Y/Z(float to, float duration)
DOColor(Color to, float duration)
DOFade(float to, float duration)

tk2dSlicedSprite

DOScale(Vector2 to, float duration)
DOScaleX/Y(float to, float duration)

tk2dTextMesh

DOColor(Color to, float duration)
DOFade(float to, float duration)
DOText(string to, float duration, bool richTextEnabled = true, ScrambleMode scrambleMode = ScrambleMode.None, string scrambleChars = null)

PRO ONLY ➨ TextMesh Pro shortcuts

TextMeshPro + TextMeshProUGUI

DOScale(float to, float duration)
DOColor(Color to, float duration)
DOFaceColor(Color to, float duration)
DOFaceFade(float to, float duration)
DOFade(float to, float duration)
DOFontSize(float to, float duration)
DOGlowColor(Color to, float duration)
DOMaxVisibleCharacters(int to, float duration)
DOOutlineColor(Color to, float duration)
DOText(string to, float duration, bool richTextEnabled = true, ScrambleMode scrambleMode = ScrambleMode.None, string scrambleChars = null)

 

打赏
— 于 共写了2113个字
— 文内使用到的标签:

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据