private IEnumerator TMP_AddPainting(Gallery g) { while (true) { g.AddNewPainting(Painting.CreateSampleTexture2D()); yield return new WaitForSeconds(5.0f); } }