Can I add events or custom function calls from a script to the default buttons? I am trying to register these events in the “UIButtonInput” class, but when I use the buttons, I don't get any response from the events. I want to do something similar to "onClick.AddListener(DebugTest)" so that when selecting a custom option within a UI Box that I created, the "DebugTest" function is executed.
For example, you can tie it to an Animation Machine to execute a schematic that calls what you're after.
https://youtu.be/AL3AMgoD07U
Do you have a debug output (Unity Console node) in the machine's schematic to check if it's started?
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!