FadeAlpha(CanvasGroup,float,float,float,CoroutineInterruptToken)
Method in Effects
Summary
A coroutine that fades a UnityEngine.CanvasGroup
object's opacity from from
to to
over the course of fadeTime
seconds, and then invokes onComplete
.
Parameters
Name
Description
float
from
The opacity value to start fading from, ranging from 0 to 1.
float
to
The opacity value to end fading at, ranging from 0 to 1.
A CoroutineInterruptToken that can be used to interrupt the coroutine.
UnityEngine.CanvasGroup
canvasGroup
float
fadeTime
PreviousEffectsNextPausableTypewriter(TextMeshProUGUI,float,Action,Action,Action,Stack<(int position, float duration)>,CoroutineInterruptToken)
Last updated