hello and thank you in advance for the help
here is was im trying to do: i have two types of enemies and would like to have when enemy 1 collides with enemy 2 then enemy 1 turn into a copy of enemy 2 and have all of enemy 2's components
then when i shoot it enemy 2 i would like to have it turn into an enemy 1
I know i have to do an onCollisionEnter and the destroy object but i dont know where to go from there.
So i was wondering if there is a way to switch prefabs with an oncollision
Any help would be appreciated.
↧