以下の内容はhttps://baba-s.hatenablog.com/entry/2015/07/12/100000より取得しました。


【Unity】Destroy may not be called from edit mode! Use DestroyImmediate instead.

Destroy may not be called from edit mode! Use DestroyImmediate instead.
Also think twice if you really want to destroy something in edit mode. 
Since this will destroy objects permanently.

エディタ拡張の処理でGameObject.Destroyを呼び出すと上記のエラーが発生します
エディタ拡張でゲームオブジェクトを削除したいときは
GameObject.DestroyImmediateを使用する必要があります




以上の内容はhttps://baba-s.hatenablog.com/entry/2015/07/12/100000より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14