Tanoda
GILES.Example.pb_SceneLoader Class Reference
Inheritance diagram for GILES.Example.pb_SceneLoader:
GILES.pb_MonoBehaviourSingleton< pb_SceneLoader >

Static Public Member Functions

static void LoadScene (string path)
 

Public Attributes

string sceneToLoadLevelInto = "Empty Scene"
 The scene that will be opened and loaded into. More...
 

Properties

override bool dontDestroyOnLoad [get]
 Make this object persistent between scene loads. More...
 
- Properties inherited from GILES.pb_MonoBehaviourSingleton< pb_SceneLoader >
virtual bool dontDestroyOnLoad [get]
 Override to maintain an instance of this object across level loads. More...
 
static T instance [get]
 
static T nullableInstance [get]
 

Additional Inherited Members

- Protected Member Functions inherited from GILES.pb_MonoBehaviourSingleton< pb_SceneLoader >
virtual void Initialize ()
 
virtual void Awake ()
 

Detailed Description

Simple example of a scene loading script.

Definition at line 13 of file pb_SceneLoader.cs.

Member Function Documentation

◆ LoadScene()

static void GILES.Example.pb_SceneLoader.LoadScene ( string  path)
static

Call this to load level.

Definition at line 26 of file pb_SceneLoader.cs.

Member Data Documentation

◆ sceneToLoadLevelInto

string GILES.Example.pb_SceneLoader.sceneToLoadLevelInto = "Empty Scene"

The scene that will be opened and loaded into.

Definition at line 19 of file pb_SceneLoader.cs.

Property Documentation

◆ dontDestroyOnLoad

override bool GILES.Example.pb_SceneLoader.dontDestroyOnLoad
get

Make this object persistent between scene loads.

Definition at line 16 of file pb_SceneLoader.cs.


The documentation for this class was generated from the following file: