Class SubtitlerTransitionBase
public abstract class SubtitlerTransitionBase : ScriptableObject, ISubtitlerTransition
- Inheritance
-
objectObjectScriptableObjectSubtitlerTransitionBase
- Implements
- Derived
Fields
ScriptableObjectMenuPath
public const string ScriptableObjectMenuPath = "Gasimo/Subtitler/Transitions/"
Field Value
- string
Methods
AnimateSubtitleEntrance(Label, ISubtitleEntry, CancellationToken)
Called when a subtitle entry is about to be displayed.
public virtual 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
AnimateSubtitleExit(Label, ISubtitleEntry, CancellationToken)
Called when a subtitle entry is about to be hidden.
public virtual Task AnimateSubtitleExit(Label subtitle, ISubtitleEntry entry, CancellationToken cancellationToken)
Parameters
subtitleLabelLabel containing this subtitle
entryISubtitleEntrycancellationTokenCancellationTokenToken which gets called when the entry is interrupted.
Returns
- Task