Class TextAnimator_TMP
Animates a TMP text component, both UI or World.
See TAnimCore for the base class information.
Inheritance
TextAnimator_TMP
Assembly: Febucci.TextAnimator.TMP.Runtime.dll
Syntax
public sealed class TextAnimator_TMP : TAnimCore
Properties
TMProComponent
The TextMeshPro text component linked to this Text Animator
Declaration
public TMP_Text TMProComponent { get; }
Property Value
Type |
Description |
TMPro.TMP_Text |
|
tmproText
Declaration
public TMP_Text tmproText { get; }
Property Value
Type |
Description |
TMPro.TMP_Text |
|
Methods
CopyMeshFromSource(ref CharacterData[])
Declaration
protected override void CopyMeshFromSource(ref CharacterData[] characters)
Parameters
Overrides
GetCharactersCount()
Declaration
protected override int GetCharactersCount()
Returns
Type |
Description |
System.Int32 |
|
Overrides
Declaration
protected override TagParserBase[] GetExtraParsers()
Returns
Overrides
GetFirstCharacterIndexInsidePage()
Declaration
public override int GetFirstCharacterIndexInsidePage()
Returns
Type |
Description |
System.Int32 |
|
Overrides
GetOriginalTextFromSource()
Declaration
public override string GetOriginalTextFromSource()
Returns
Type |
Description |
System.String |
|
Overrides
GetRenderedCharactersCountInsidePage()
Declaration
public override int GetRenderedCharactersCountInsidePage()
Returns
Type |
Description |
System.Int32 |
|
Overrides
GetStrippedTextFromSource()
Declaration
public override string GetStrippedTextFromSource()
Returns
Type |
Description |
System.String |
|
Overrides
HasChangedRenderingSettings()
Declaration
protected override bool HasChangedRenderingSettings()
Returns
Type |
Description |
System.Boolean |
|
Overrides
HasChangedText(String)
Declaration
protected override bool HasChangedText(string strippedText)
Parameters
Type |
Name |
Description |
System.String |
strippedText |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
IsReady()
Declaration
protected override bool IsReady()
Returns
Type |
Description |
System.Boolean |
|
Overrides
OnEnable()
Declaration
protected override void OnEnable()
Overrides
OnForceMeshUpdate()
Declaration
protected override void OnForceMeshUpdate()
Overrides
OnInitialized()
Declaration
protected override void OnInitialized()
Overrides
PasteMeshToSource(CharacterData[])
Declaration
protected override void PasteMeshToSource(CharacterData[] characters)
Parameters
Overrides
SetTextToSource(String)
Declaration
public override void SetTextToSource(string text)
Parameters
Type |
Name |
Description |
System.String |
text |
|
Overrides
TryGetNextCharacter(out TMP_CharacterInfo)
Declaration
public bool TryGetNextCharacter(out TMP_CharacterInfo result)
Parameters
Type |
Name |
Description |
TMPro.TMP_CharacterInfo |
result |
|
Returns
Type |
Description |
System.Boolean |
|