Issues with an event tigger
Hello!!
I am working on a 2D platformer and I am trying to do a character selection menu. I have and button with an event trigger that I use for shooting for the character. My problem is that when I switch to a new character the event trigger that is on the button goes blank and I can no longer shoot. I have tried instantiating the characters and having the SetActive to false. Is there a way to set the event trigger through code or if anybody has any other suggestions I would love to hear them.
Thanks!!
Your answer
![](https://koobas.hobune.stream/wayback/20220612143211im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
A little bit of help with jump 2 Answers
Trying to make a 2d platformer and I'm having problems with the script. 0 Answers
2D Object Pickup - Occasionally adding score twice 0 Answers
Character hits invisible ghost collision when jumping against objects while pushing against them 0 Answers
Double Jump Not Working 0 Answers