/// <summary> /// Find, remove and replace matched tiles, then restart if a match was found /// </summary> private static IEnumerator UpdateField() { yield return(new WaitForSeconds(Duration.Short)); Animate.Pop(_tiles, Match.Check(_tiles)); if (Animate.TilesPoppedThisRound == 0) { Drag.AllowUnlock = true; yield break; } yield return(new WaitForSeconds(Duration.Medium)); Drop(); yield return(new WaitForSeconds(Duration.Wait)); Fill(); PanelController.AssignRoundValues(); Drag.Lock = true; yield return(new WaitForSeconds(Duration.SafeWait)); Check(); }