Adding a health powerup in Unity

Health powerup adds a life.
All backgrounds are transparent. Odd background bug with 0004, 0006 and 0007 in Windows 10.
Health_Powerup prefab
Switch within OnTriggerEnter2D in Powerup script
Spawn_Manager script
HealthBoost function within the Player script.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store