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 .

public static IEnumerator FadeAlpha(CanvasGroup canvasGroup, float from, float to, float fadeTime, CoroutineInterruptToken stopToken = null)

Parameters

Last updated

Yarn Spinnerยฎ and Secret Labยฎ are trade marks of Secret Lab Pty. Ltd., and are used by Yarn Spinner Pty. Ltd. under license.