IEnumerator CreateCA() { for (int i = 0; i < _size / 2; i++) { StartCoroutine(CreateRow(i)); yield return(new WaitForSeconds(0.1f)); _ca.NextGeneration(); } }
IEnumerator CreateCA() { for (int i = 0; i < _size / 2; i++) { PaintRow(i); _texture.Apply(); yield return(new WaitForSeconds(0.2f)); _ca.NextGeneration(); } }