protected override void OnInputEnabled() { List <AvatarInlineElementUI> childElements = SortPlayers(); int counter = 0; Co.WaitForSeconds(1f, () => { Avatar.gameObject.SetActive(true); Avatar.RandomAnimations = false; Co.InvokeWhileTrue(2.5f, 0.33f, () => { return(counter < childElements.Count); }, () => { childElements[counter].Animate(new UIAnimator.FadeIn(0.75f)); counter++; }, () => { Co.WaitForSeconds(0.75f, () => { ContinueButton.Visible = true; ContinueButton.Animate(new UIAnimator.FadeIn(0.5f)); }); }); }); }