플레이 종료 시에 FieldBoss관련 Destory 오류 해결

This commit is contained in:
NTG 2024-02-16 16:34:35 +09:00
parent 7fd08cbaa1
commit 93d76ea1d4

View File

@ -88,9 +88,9 @@ namespace BlueWaterProject
{ {
foreach (var element in instanceSkillList) foreach (var element in instanceSkillList)
{ {
if (element.gameObject != null) if (element != null)
{ {
Destroy(element.gameObject); Destroy(element);
} }
} }
} }