Hello guys,
is there a function that wait until createScene finish then it works cuz I have a function with parameters are uploaded from createScene and I don’t want to call it inside createScene (not registerAfterRender because I want to call it one time)
Thank you
Anes
Hi Anes… https://doc.babylonjs.com/api/classes/babylon.scene#onreadyobservable
In “the big list of scene observables”, it is hiding in the first sentence BELOW the list.
(That list is actually all the scene observations that happen EACH frame, and in THAT order/sequence.)
There is also scene.executeWhenReady option, but I think the observer method is more cool/modern.