Class SubtitlerTypewriter
[CreateAssetMenu(fileName = "Typewriter Transition", menuName = "Gasimo/Subtitler/Transitions/Typewriter")]
public class SubtitlerTypewriter : SubtitlerTransitionBase, ISubtitlerTransition
- Inheritance
-
objectObjectScriptableObjectSubtitlerTypewriter
- Implements
- Inherited Members
Methods
AnimateSubtitleEntrance(Label, ISubtitleEntry, CancellationToken)
Called when a subtitle entry is about to be displayed.
public override Task AnimateSubtitleEntrance(Label subtitle, ISubtitleEntry entry, CancellationToken cancellationToken)
Parameters
subtitleLabelLabel containing this subtitle
entryISubtitleEntrycancellationTokenCancellationTokenToken which gets called when the entry is interrupted.
Returns
- Task
Task containing the animaion