AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
HoloToolkit.Unity.DebugPanel Class Reference

Script to control writing the Debug.Log output to a control. More...

Inheritance diagram for HoloToolkit.Unity.DebugPanel:
HoloToolkit.Unity.SingleInstance< DebugPanel >

Public Member Functions

delegate string GetLogLine ()
 If another script wants to make a log entry per frame they will implement this delegate. More...
 
void RegisterExternalLogCallback (GetLogLine callback)
 Call this to register your script to provide a debug string each frame. More...
 
void UnregisterExternalLogCallback (GetLogLine callback)
 Call this when you no longer want to provide a debug string each frame. More...
 

Additional Inherited Members

- Protected Member Functions inherited from HoloToolkit.Unity.SingleInstance< DebugPanel >
virtual void OnDestroy ()
 Called by Unity when destroying a MonoBehaviour. Scripts that extend SingleInstance should be sure to call base.OnDestroy() to ensure the underlying static _Instance reference is properly cleaned up. More...
 
- Properties inherited from HoloToolkit.Unity.SingleInstance< DebugPanel >
static T Instance [get]
 

Detailed Description

Script to control writing the Debug.Log output to a control.

Definition at line 12 of file DebugPanel.cs.

Member Function Documentation

§ GetLogLine()

delegate string HoloToolkit.Unity.DebugPanel.GetLogLine ( )

If another script wants to make a log entry per frame they will implement this delegate.

Returns

§ RegisterExternalLogCallback()

void HoloToolkit.Unity.DebugPanel.RegisterExternalLogCallback ( GetLogLine  callback)

Call this to register your script to provide a debug string each frame.

Parameters
callbackThe delegate to call back

Definition at line 124 of file DebugPanel.cs.

§ UnregisterExternalLogCallback()

void HoloToolkit.Unity.DebugPanel.UnregisterExternalLogCallback ( GetLogLine  callback)

Call this when you no longer want to provide a debug string each frame.

Parameters
callbackThe callback to stop calling

Definition at line 133 of file DebugPanel.cs.


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