Quantcast
Channel: Questions in topic: "gui"
Viewing all articles
Browse latest Browse all 125

UI Buttons work in editor but not in build

$
0
0
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.

Viewing all articles
Browse latest Browse all 125

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>