Unity 2D Destroy Player Clone

Updated on May 5, 2017 in [A] 2D
Share on Facebook0Tweet about this on TwitterShare on Google+0Share on Reddit0
0 on May 5, 2017

After making a certain object destroy the player, I want to do the same to the respawned player that is called clone. I mean I had c++ class last year so c# isn’t something new, but as a complete beginner to unity and game development I am unsure of how i should call the player in the destroy function of that certain object to destroy the respawned clones too. And I’ve got problems assigning an animation to my second jump, just can’t seem to make it work, I’ve tried calling the animation just when i press space the second time, or when my first jump ends and i go to my second jump, but no luck.

Edit : Resolved the problem.

  • Liked by