Question by
truffledude12 · Jan 08, 2018 at 04:40 PM ·
uibuttontextbutton trigger eventsunity 5.2
How to disable button text UI
I have a main camera, which displays the menu of my game, but when I click the button text, it stays on screen, I've tried changing the buttons onClick to GameObject.setActive and the text.enable functions, but it seems to just want to stay put, any idea how to fix this? The main camera switches to a secondary camera that displays the FPSController camera, which I lazily chose to use as I don't want to really use anything else
Comment