Failed to succeed with character switching

I have most of my code in a method called SwapHeroes in Level.cs file.
It doesn't harm the running of the game, but it also doesn't do
anything.