When I delete canvas, I will report an error when I advancedTexture = BABYLON.GUI.AdvancedDynamicTexture.CreateFullscreenUI("UI"+Math.random())
;
I have cleared all defined variables before this.
Thanks
When I delete canvas, I will report an error when I advancedTexture = BABYLON.GUI.AdvancedDynamicTexture.CreateFullscreenUI("UI"+Math.random())
;
I have cleared all defined variables before this.
Thanks
I am sorry I do not understand fully the question, you are deleting the canvas and try to use babylon with it ?
I want to delete the old scene and add a new one.
So I deleted the canvas and added a new canvas.
Why not calling scene.dispose() and then create a new scene ?
Really? let me try.
Thanks