IEnumerator ProcessCameraImage() { isReady = false; photoTaker.TakePhoto(); //red.ReadColors(); white.ReadColors(); black.ReadColors(); yellow.ReadColors(); visual.ShowCheckers(); yield return(new WaitForSeconds(captureRate)); isReady = true; }