Hi : ) I’m trying to trigger a characterMovement method when you click a button from the canvas, but I don’t understand how can I add a eventListener to that button in my script. Supose that I have a reference to the canvas (@serialiazable(GameObject) canvas:GameObject) and from this canvas I get the Button. Now, I want to add a eventListener to that button but I don’t get it yet.
I’m following the examples in the Intro to Needle Engine Scripting