diff --git a/Assets/ParentBehaviour.cs b/Assets/ParentBehaviour.cs index d8985da..3db97c9 100644 --- a/Assets/ParentBehaviour.cs +++ b/Assets/ParentBehaviour.cs @@ -214,6 +214,13 @@ public class ParentBehaviour : MonoBehaviour //this is the correct child GameObject player = collision.collider.gameObject.GetComponent().lastHeld; player.GetComponent().AddScore(1); + + //destroy baby, spawn 2 more + Destroy(collision.collider.gameObject); + babySpawner.SpawnBaby(); + babySpawner.SpawnBaby(); + + //Slide, cha cha real smooth StartCoroutine(SlideInOut(parentRoot.position + slideDistance, 2)); } else