I have a problem when i press "x" to switch it only switches for a second then it goes back to the weapon 0 in the array h...

posted to: Weapon Switching
I have a problem when i press "x" to switch it only switches for a second then it goes back to the weapon 0 in the array how can i fix this
  • daniel466 replied
    thats what i have ?
  • mezzuk replied

    This is rather late but only just worked through the course :) I had the same but it turned out that the event on the animation was being called twice. It may be that the prefab already had the event saved to it and I'd missed when adding my own.