using System.Collections; using System.Collections.Generic; using UnityEngine; public class CoroutineTest : MonoBehaviour { class TempClass { public int index = 0; } class CoroutineEx : IEnumerable { public IEnumerator GetEnumerator() { yield return 1; yield return null; yield return new TempClass() { index = 100 }; yield return "String"; yield break; // 정지 yield return 5; } } Coroutine tempC = ..