void OnDestroy()
 {
     spawner.spawnedObjectDestroyed();
 }