* Fix instances when deletion happened while factory is disabled * Simplify code
List<GameObject> m_Instances;
private void OnEnable()
{
m_Instances.RemoveAll(item => item == null);
}
private void OnDestroy()
if(ReapInstancesOnDestroy && m_Instances != null)