I've made some buttons for my game in Unity, and they work fine while i'm in the editor. However, when I build and run the game, the buttons don't do anything. They highlight and press properly (I have an animator and it plays their respective animations), but they just don't execute the code i've added to their OnClick() method. Any help would be appreciated.
Also, if I need to include screenshots, my code, etc, just let me know.
↧