Table of Contents

Class SubtitlerTypewriter

Namespace
Gasimo.Subtitles
Assembly
Gasimo.Subtitler.dll
[CreateAssetMenu(fileName = "Typewriter Transition", menuName = "Gasimo/Subtitler/Transitions/Typewriter")]
public class SubtitlerTypewriter : SubtitlerTransitionBase, ISubtitlerTransition
Inheritance
object
Object
ScriptableObject
SubtitlerTypewriter
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

subtitle Label

Label containing this subtitle

entry ISubtitleEntry
cancellationToken CancellationToken

Token which gets called when the entry is interrupted.

Returns

Task

Task containing the animaion