Binding button with UIToolkit Runtime system ?
Hi, I wanted to use the new UI Toolkit system for my Unity application. While it's really interesting, I'm not able to bind anything to my button.clicked event !
I tried with lots of possibilities without success, can someone hint me on the way to go to bind events to button ?
Including on which event should I call the binding ?
PS : I'm not doing Editor windows, I'm using it for Runtime. And my UI Toolkit package is up to date as well as my Unity 2020 version.
Your answer
![](https://koobas.hobune.stream/wayback/20220613013632im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How do I make a UI button imitating mouse click 0 Answers
Is it possible to show a website in Virtual Reality? Perhaps by a button with a link? 0 Answers
Button prefab is causing wrong prefab to trigger 2 Answers
toggle button animation transition with sprite swap 1 Answer
Buttons work in the Editor but not in the build... WHY! 0 Answers