You can define the coroutine function wherever you want, as long as it returns an IEnumerator. You only need to call StartCoroutine from a MonoBehaviour.
確定! 回上一頁