플레이 종료 시에 FieldBoss관련 Destory 오류 해결
This commit is contained in:
parent
7fd08cbaa1
commit
93d76ea1d4
@ -88,9 +88,9 @@ namespace BlueWaterProject
|
||||
{
|
||||
foreach (var element in instanceSkillList)
|
||||
{
|
||||
if (element.gameObject != null)
|
||||
if (element != null)
|
||||
{
|
||||
Destroy(element.gameObject);
|
||||
Destroy(element);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user