FadeAlpha(CanvasGroup,float,float,float,Action,InterruptionFlag)
Method in Effects
Summary
A coroutine that fades a CanvasGroup
object's opacity from from
to to
over the course of fadeTime
seconds, and then invokes onComplete
. An InterruptionFlag may be used to signal that the fade should be interrupted; if this happens, the opacity is set to to
.
Parameters
Name | Description |
---|---|
| The opacity value to start fading from, ranging from 0 to 1. |
| The opacity value to end fading at, ranging from 0 to 1. |
| A delegate to invoke after fading is complete. |
| |
| |
Yarn.Unity.InterruptionFlag interruption |
Last updated