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

Public Member Functions

bool DoFade (float _fadeOutTime, float _fadeInTime, Action _fadedOutAction, Action _fadedInAction)
 

Public Attributes

bool FadeSharedMaterial
 

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...
 
override 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...
 

Properties

bool Busy [get]
 
- Properties inherited from HoloToolkit.Unity.Singleton< FadeManager >
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...
 

Additional Inherited Members

- Static Public Member Functions inherited from HoloToolkit.Unity.Singleton< FadeManager >
static void AssertIsInitialized ()
 
static bool ConfirmInitialized ()
 Awake and OnEnable safe way to check if a Singleton is initialized. More...
 

Detailed Description

Definition at line 18 of file FadeManager.cs.

Member Function Documentation

§ Awake()

override void HoloToolkit.Unity.FadeManager.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< FadeManager >.

Definition at line 48 of file FadeManager.cs.

§ DoFade()

bool HoloToolkit.Unity.FadeManager.DoFade ( float  _fadeOutTime,
float  _fadeInTime,
Action  _fadedOutAction,
Action  _fadedInAction 
)

Definition at line 115 of file FadeManager.cs.

§ OnDestroy()

override void HoloToolkit.Unity.FadeManager.OnDestroy ( )
protectedvirtual

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.

Reimplemented from HoloToolkit.Unity.Singleton< FadeManager >.

Definition at line 105 of file FadeManager.cs.

Member Data Documentation

§ FadeSharedMaterial

bool HoloToolkit.Unity.FadeManager.FadeSharedMaterial

Definition at line 21 of file FadeManager.cs.

Property Documentation

§ Busy

bool HoloToolkit.Unity.FadeManager.Busy
get

Definition at line 34 of file FadeManager.cs.


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