public void instantiateInteractions(PetStatus petStatus) { BirdSpawner instantiatedSpawner = Instantiate( birdSpawner.gameObject, transform).GetComponent <BirdSpawner>(); instantiatedSpawner.Initialize(petStatus, conditionName, valueIncreaseAmount, needinessIncreaseAmount, this); }