BaseMultiSceneLoader.cs

Back


Assembly: CarterGames.MultiScene.Runtime

Namespace: CarterGames.Experimental.MultiScene


A base class for loading a scene group, you can derive from this class to make your own or just use the base class as is.

Fields


loadGroup


Protected


The scene group to load when the load method is called.

Properties


IsLoading


Get/Set

Protected


Gets/sets whether the loader is currently loading the scene group. This is set in the base class, but if you override the loader method you will need to set this yourself.

Methods


LoadSceneGroup


Method

void virtual


Calls the Multi Scene Manager to load the scene group assigned in the inspector.


BaseMultiSceneLoader loader;
loader.LoadSceneGroup();