Class TmpProExtention
Typewriter extension method for Text Mesh
Inheritance
System.Object
TmpProExtention
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: AnimationHelpers
Assembly: cs.temp.dll.dll
Syntax
public static class TmpProExtention
Methods
TypeWriteText(TMP_Text, Single, Single, Boolean)
Create a new TypeWrite animation
Declaration
public static TextAnimator TypeWriteText(this TMP_Text text, float typeSpeed, float waitTimeSenteceEnd, bool animateWords = false)
Parameters
Type | Name | Description |
---|---|---|
TMP_Text | text | The Text Mesh Pro text to animate |
System.Single | typeSpeed | The pause between each character/word |
System.Single | waitTimeSenteceEnd | The pause when sentence is finished (only recognizes . as an end of a sentence) |
System.Boolean | animateWords | When true while words will appear else single characters will appear |
Returns
Type | Description |
---|---|
TextAnimator | A instance of a TextAnimator |