AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
HoloToolkit.Unity.SceneLauncher Class Reference
Inheritance diagram for HoloToolkit.Unity.SceneLauncher:
HoloToolkit.Unity.Singleton< SceneLauncher >

Public Member Functions

void LaunchSceneLoader ()
 

Public Attributes

GameObject ButtonSpawnLocation = null
 
SceneLauncherButton SceneButtonPrefab = null
 
int MaxRows = 5
 

Protected Member Functions

override void Awake ()
 Base Awake method that sets the Singleton's unique instance. Called by Unity when initializing a MonoBehaviour. Scripts that extend Singleton should be sure to call base.Awake() to ensure the static Instance reference is properly created. More...
 
- Protected Member Functions inherited from HoloToolkit.Unity.Singleton< SceneLauncher >
virtual void OnDestroy ()
 Base OnDestroy method that destroys the Singleton's unique instance. Called by Unity when destroying a MonoBehaviour. Scripts that extend Singleton should be sure to call base.OnDestroy() to ensure the underlying static Instance reference is properly cleaned up. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from HoloToolkit.Unity.Singleton< SceneLauncher >
static void AssertIsInitialized ()
 
static bool ConfirmInitialized ()
 Awake and OnEnable safe way to check if a Singleton is initialized. More...
 
- Properties inherited from HoloToolkit.Unity.Singleton< SceneLauncher >
static T Instance [get]
 Returns the Singleton instance of the classes type. If no instance is found, then we search for an instance in the scene. If more than one instance is found, we throw an error and no instance is returned. More...
 
static bool IsInitialized [get]
 Returns whether the instance has been initialized or not. More...
 

Detailed Description

Definition at line 10 of file SceneLauncher.cs.

Member Function Documentation

§ Awake()

override void HoloToolkit.Unity.SceneLauncher.Awake ( )
protectedvirtual

Base Awake method that sets the Singleton's unique instance. Called by Unity when initializing a MonoBehaviour. Scripts that extend Singleton should be sure to call base.Awake() to ensure the static Instance reference is properly created.

Reimplemented from HoloToolkit.Unity.Singleton< SceneLauncher >.

Definition at line 42 of file SceneLauncher.cs.

§ LaunchSceneLoader()

void HoloToolkit.Unity.SceneLauncher.LaunchSceneLoader ( )

Definition at line 117 of file SceneLauncher.cs.

Member Data Documentation

§ ButtonSpawnLocation

GameObject HoloToolkit.Unity.SceneLauncher.ButtonSpawnLocation = null

Definition at line 26 of file SceneLauncher.cs.

§ MaxRows

int HoloToolkit.Unity.SceneLauncher.MaxRows = 5

Definition at line 32 of file SceneLauncher.cs.

§ SceneButtonPrefab

SceneLauncherButton HoloToolkit.Unity.SceneLauncher.SceneButtonPrefab = null

Definition at line 29 of file SceneLauncher.cs.


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