Quantcast
Viewing all articles
Browse latest Browse all 57

Answer by mikewarren

Here's a code snippet from a larger module I have that loads scene bundles from files. This one loads the first scene in the bundle into the scene manager. AssetBundle bundle = AssetBundle.LoadFromFile(path); string[] scenes = bundle.GetAllScenePaths(); string scene = Path.GetFileNameWithoutExtension(scenes[0]); SceneManager.LoadScene(scene);

Viewing all articles
Browse latest Browse all 57

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>