Class: UnityWorld

UnityWorld()

Use in conjunction with babylon.js unity exporter. After the scene loads, create UnityWorld with engine, title and scene as arguments, then pass it as argument to WorldManager constructor. Most of world methods do not make sense in this class: scene creation and loading related ones are never called, as this is all done in script generated by exporter. Practically the only useful method is entered(), possibly XR support. Another option is to completely replace generated code, and call BABYLON.SceneManager.LoadScene as generated code does in executeSceneLoader function.