Loading

Remember to use the Esper.Freeloader namespace.

Freeloader is a simple asset meant for loading scenes. You can use Freeloader to load scenes as long as you have an instance of a loading screen in your initial scene. See Add a Loading Screen.

Loading a Scene

Use the Load method to load a scene.

Load By Scene Name

string sceneName = "scene name";
LoadingScreen.Instance.Load(sceneName)

Load By Build Index

int buildIndex = 1;
LoadingScreen.Instance.Load(buildIndex);

Last updated