Change Scene Script - adanter/Prairie GitHub Wiki

What is it

The Change Scene Script is a simple script to allow the changing of scenes once an object bearing the script is interacted with.

How to implement it

First, the script must be attached to the desired object. Then, the name of the scene that the developer wishes to change to should be inputed in the input field in the script component.

Then, go to File < Build Settings and add the desired scenes to the scene list.

Example

Here is an example of a scene change. Note, there will be a moment of loading time.

A more realistic example would be that the player is inside a house, then walks to the door, clicks on it and moves to the new scene representing the outside.