📜  unity return coroutine - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:16.585000             🧑  作者: Mango

代码示例1
IEnumerator MyCoroutine()
{
      Debug.Log("This works !"); 
    yield break; // Line to stop your coroutine.
      Debug.Log("This doesn't show in the console because the coroutine is already finished !!!!");
}