Class in Yarn.Unity
Inherits from System.Object
System.Object
Contains coroutine methods that apply visual effects. This class is used by LineView to handle animating the presentation of lines.
public static class Effects
CoroutineInterruptToken
An object that can be used to signal to a coroutine that it should terminate early.
FadeAlpha(CanvasGroup,float,float,float,CoroutineInterruptToken)
A coroutine that fades a CanvasGroup object's opacity from from to to over the course of fadeTime seconds, and then invokes onComplete .
CanvasGroup
from
to
fadeTime
onComplete
Typewriter(TextMeshProUGUI,float,Action,CoroutineInterruptToken)
A coroutine that gradually reveals the text in a TextMeshProUGUI object over time.
TextMeshProUGUI
Last updated 2 years ago
Was this helpful?