![]() |
AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
|
Script to control writing the Debug.Log output to a control. More...
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] |
Script to control writing the Debug.Log output to a control.
Definition at line 12 of file DebugPanel.cs.
| delegate string HoloToolkit.Unity.DebugPanel.GetLogLine | ( | ) |
If another script wants to make a log entry per frame they will implement this delegate.
| void HoloToolkit.Unity.DebugPanel.RegisterExternalLogCallback | ( | GetLogLine | callback | ) |
Call this to register your script to provide a debug string each frame.
| callback | The delegate to call back |
Definition at line 124 of file DebugPanel.cs.
| void HoloToolkit.Unity.DebugPanel.UnregisterExternalLogCallback | ( | GetLogLine | callback | ) |
Call this when you no longer want to provide a debug string each frame.
| callback | The callback to stop calling |
Definition at line 133 of file DebugPanel.cs.