public SpawnComponent(
     SpawnFrameBehaviourBase spawnFrameBehaviour,
     SpawningBehaviourBase spawningBehaviour)
 {
     this.SpawnFrameBehaviour = spawnFrameBehaviour;
     this.SpawningBehaviour   = spawningBehaviour;
 }
 public void SetNewSpawningBehaviour(SpawningBehaviourBase spawningBehaviour)
 {
     this.SpawningBehaviour = spawningBehaviour;
     if (this.SpawningBehaviour == null)
     {
         return;
     }
     this.SpawningBehaviour.Initialize(this);
 }