You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use Rocket for a project and I have an question about the ticker in a specific component.
I see in your main.es6 that you add the component instance you want to the main update function : /*** Drawing on requestAnimationFrame */ update() { this._router.update(); this._background.update(); }
My question is: Can I add an update function in a component that doesn't imply to create a new Instance in Main.es6 ?
Thanks in advance 🙏
The text was updated successfully, but these errors were encountered:
Hi,
I use Rocket for a project and I have an question about the ticker in a specific component.
I see in your main.es6 that you add the component instance you want to the main update function :
/*** Drawing on requestAnimationFrame */ update() { this._router.update(); this._background.update(); }
My question is: Can I add an update function in a component that doesn't imply to create a new Instance in Main.es6 ?
Thanks in advance 🙏
The text was updated successfully, but these errors were encountered: