I have an object called “HealthPowerUp” that I created. Its scripts are all attached and it otherwise functions as Intended. (following image)
I am trying to make it a prefab so I can spawn it. When I drag it into the prefab folder it creates the prefab, but none of the references (Player Health, Pickup Effect, Health Slider) are attached (following image). I try to drop them back onto the prefab, but I am unable to do so for Player Health or Health Slider.
Does anyone know what I might have done wrong?
This is the object’s script.