private IEnumerator Rotator(Transform t) { StartCoroutine(FugoUtils.Rotator(360f, 20f, t)); yield return(new WaitForSeconds(20f)); StartCoroutine(Rotator(t)); }
private IEnumerator BGAnimThread() { while (true) { StartCoroutine(FugoUtils.Rotator(360f, 8f, animation)); StartCoroutine(FugoUtils.Rotator(360f, 8f, trialAnim)); yield return(new WaitForSeconds(8f)); } }