Unity エラー
NullReferenceException: Object reference not set to an instance of an object
原因は、プログラムを適用しているGameObjectに、参照先のクラス(JavaScript, C#ファイル)を適用していない。
GetComponentを使用時によく出る。
NullReferenceException: Object reference not set to an instance of an object
原因は、プログラムを適用しているGameObjectに、参照先のクラス(JavaScript, C#ファイル)を適用していない。
GetComponentを使用時によく出る。