Checking listed problems with playgrounds in docs. This one from Device Source Manager | Babylon.js Documentation
https://www.babylonjs-playground.com/#C7PM2B#15
gives TypeError: BABYLON.DeviceSourceManager is not a constructor
Checking listed problems with playgrounds in docs. This one from Device Source Manager | Babylon.js Documentation
https://www.babylonjs-playground.com/#C7PM2B#15
gives TypeError: BABYLON.DeviceSourceManager is not a constructor
Pinging @Drigax
Hi @JohnK
I had to comment out all your game specific code that’s not included in the playground, but the DeviceSourceManager
constructor seems to be working in this iteration:
https://www.babylonjs-playground.com/#C7PM2B#17
Not actually my code. I am trying to sort out broken code in the docs it is from this page Device Source Manager | Babylon.js Documentation
Would the PG above be a good example? If not would you do one? Thanks
Thanks for finding this, updated the playground to use the new device source manager entrypoints: