예제 #1
0
        private IEnumerator Fade()
        {
            foreach (var t in fadeTime.EvaluateWithTime())
            {
                group.alpha = t;
                yield return(null);
            }

            gameObject.SetActive(false);
        }
예제 #2
0
 public Coroutine Play()
 {
     return(StartCoroutine(Play(curve.EvaluateWithTime())));
 }