Closed workhorsy closed 2 years ago
Instead of having SceneAdder, SceneLoader, and SceneSwitcher, just have AsyncLoader. This should also get rid of the cyclic import error that requires restart.
Then our API can be:
AsyncLoader.set_groups() AsyncLoader.change_scene_async() AsyncLoader.load_scene_async() AsyncLoader.load_scene_async_with_cb() AsyncLoader.load_scene_sync()
Instead of having SceneAdder, SceneLoader, and SceneSwitcher, just have AsyncLoader. This should also get rid of the cyclic import error that requires restart.
Then our API can be: