Skip to content
This repository has been archived by the owner on Jul 17, 2021. It is now read-only.

Scene Object

Hertzole edited this page Aug 20, 2018 · 1 revision

Scene Object

Scene Object is a simple class that allows you to assign Unity scenes in the inspector. The only thing it needs is that the scene is added to the build settings.

Example Usage:

public SceneObject thisScene;

private void Start()
{
	SceneManager.LoadScene(thisScene);
}

Here's how it looks in the inspector:

Scene object