private IEnumerator Fade() { foreach (var t in fadeTime.EvaluateWithTime()) { group.alpha = t; yield return(null); } gameObject.SetActive(false); }
public Coroutine Play() { return(StartCoroutine(Play(curve.EvaluateWithTime()))); }