Unity如何在Editor下執行協程(coroutine)

在處理Unity5新的AssetBundle的時候,我有一個需求,須要在Editor下(好比一個menuitem的處理函數中,遊戲沒有運行,也沒有MonoBehaviour)加載AssetBundle。而加載AssetBundle的時候又須要使用yield return www;這樣的協程用法。html 因此就有了一個需求,在Editor下執行協程。我從網上找到一個EditorCoroutine,
相關文章
相關標籤/搜索