I have been using pc.events.attach(myClassInstance) for my projects to listen to some events from pc or custom events I created, but after upgrading Playcanvas to version 2.1.0. It doesn’t seem to work and I noticed whole pc.events is gone. Is there any alternative to do the same thing?
Thank you,