Make button to be pressed by code ?
How can I make an UI button to be pressed by C# code ?
Answer by gorbit99 · Feb 14, 2016 at 02:24 PM
Fake it? Using code you could still run that script and mybe you could also change the look of the button?
Answer by eses · Feb 14, 2016 at 11:07 PM
Hi,
if I remember correctly, check out ExecuteEvents class and ExecuteEvents.Execute - this might help you in this issue. It's some time since I've used it so I can't help you much more than this!
Your answer
Follow this Question
Related Questions
How would i modify my current script to remove these UI buttons without killing my pause menu? 1 Answer
Coding click multiplier in C#. Help! 0 Answers
Navigation through buttons with custom controller logic 0 Answers
Opacity object 1 Answer
How to link up instantiated text in list to allow buttons to adjust number shown, c# 1 Answer