/// <summary>
 /// Constructor. Requires a spawn point to be specified.
 /// </summary>
 /// <param name="spawnPoint">The SpawnPointComponent that spawned this object.</param>
 public SpawnedObjectComponent(SpawnPointComponent spawnPoint)
 {
     _spawnPoint = spawnPoint;
 }
 // constructor just passes spawn point to base class
 public CheckpointSystemSpawnedObjectComponent(SpawnPointComponent spawnPoint)
     : base(spawnPoint)
 {
 }