Hello guys ,
As i unity developer i just want to ask a quick question
Which method in mesh class Match update function in unity .. What it means i want each mesh to have it's own update method rather use scene.registerBeforeRender() Which controls every update/render happens in the scene
I've used those func's
mesh.onBeforeDrawObservable()
mesh.onAfterRenderObservable()
But Explicitly i don't know if it's best choice or not and i have little problem with it .. Also those methods can't be executed behind camera view (the mesh must be in the view of camera to allow those type of functions to be executed)
so guys what do u think ?
Thanks in advance