コガネブログ

平日更新を目標に Unity や C#、Visual Studio、ReSharper などのゲーム開発アレコレを書いていきます

【Unity】-batchmode -quit -executeMethod で関数を実行する時に EditorApplication.delayCall は使えない

概要

Unity.exe -batchmode -quit -executeMethod "XXXX.YYYY"

上記のようにコマンドラインから Unity プロジェクトの関数を実行しようとしたところ
EditorApplication.delayCall で指定したコールバック内の処理に進まない現象に遭遇した