I have two separate scripts for my Player and my Enemies...how can I call to the enemy script within the player script and check to see if a specific enemy has been destroyed in order to add to the player's score? I have 3 types of enemies in my enemy script and I want to set different numbers for when they are each destroyed.
↧