Hi!
I work on authentication / registration in my game using a third-party service. This service provides a library with API methods. I have a form in which the user enters their data. I do a form validation and I want to pass in user data, which are taken as parameters of one of the API methods, using an event. However, I am unable to raise an event, because the API method is called not in the scope of the initialize
function.
Question. Can I listen to events without the initialize
function provided by playcanvas?