This is a reference to the Typing Animation component:
- Animate On Start – will start the typing animation when the onStart method is called on the gameobject
- Override Animation – if the glyph is in the middle of animation , setting this to true will override the animation with a new one
- Type in Text – is the text that the animation will type in into the Text Element attached to it.
- Skip white spaces – if this is enabled , the typing will halt on white space charterers
- Animation start delay – The amount of seconds from the moment the animation is triggered until it
actually starts. - Append Gap Time – the gap time between the typing of each glyph (in seconds)
- Base Animations – is an array of base animations , if you have more then one base animation then set “Animation Select Method”
- Animation Select Method – Random: selects a random animation from the array for each glyph . Sequential: each glyph is matched with an array index. the first glyph to the first animation preset , the seconds glyph to the seconds animation preset and so on…
Triggering the typing animation from script
You can start and stop the typing animation using the following methods:
var typing = GetComponent<TypingAnimationSequence>();
typing.StartAnimation();
typing.StopAnimation();