コガネブログ

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

2014-08-19から1日間の記事一覧

【Unity】GameObjectが削除されてnullになったかどうかはnull合体演算子では確認できない

概要 MissingReferenceException: The object of type 'GameObject' has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not destroy the object. すでに削除されたゲームオブジェク…